diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-05-17 13:18:58 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-05-17 13:18:58 +0200 |
commit | 6e663074fb9e1090c279737e29d6054504c04679 (patch) | |
tree | 123e8395176f1b4a0e9c6f291050043835a88a10 | |
parent | wpos: Provide parameter for customizable queries (diff) | |
download | display_autoset-6e663074fb9e1090c279737e29d6054504c04679.tar.xz |
wpos: Provide command list
-rwxr-xr-x | wpos.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |