summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-07-25 21:00:52 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-07-25 21:00:52 +0400
commit76139a62a4f5a84c78fd97d0dfcd69da02f54821 (patch)
treede51973eeb51bc83de7b8e48738ffeaaafcc72e0
parentc1d8a66d924b2b64c8413a93b5876c1aa7cae8aa (diff)
parent582e896dfd8aa307476f3032422bbd3e66b59af6 (diff)
Merge remote-tracking branch 'refs/remotes/personal/master'
Remote and local branches merged
-rwxr-xr-xscripts/swall4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/swall b/scripts/swall
index 6d3b854..fdb7f89 100755
--- a/scripts/swall
+++ b/scripts/swall
@@ -2,6 +2,7 @@
# TODO add the option error checking with optind
+
err() {
echo "${0}": "${1}"
exit 1
@@ -21,7 +22,8 @@ NOTE: default wallpaper directory is ~/.config/wallpapers
EOF
}
-waldir="${XDG_CONFIG_HOME:-$HOME}/.config/wallpapers"
+waldir="${HOME}"/.config/wallpapers
+# FIXME add xdg home variable
while getopts "hcd:" option; do
case "${option}" in