summaryrefslogtreecommitdiffstats
path: root/wpos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wpos.sh')
-rwxr-xr-xwpos.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpos.sh b/wpos.sh
index 2da9187..5022ff7 100755
--- a/wpos.sh
+++ b/wpos.sh
@@ -34,6 +34,10 @@ if [ "$1" = "save" ]; then
query > "$SAVEPATH/$PROFILE"
exit 0
+elif [ "$1" = "list" ]; then
+ query -p
+ exit 0
+
elif [ "$1" = "restore" ]; then
cat "$SAVEPATH/$PROFILE" | while read LINE; do
## Parse records in savefile