summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2025-06-24 10:27:01 +0800
committerMike Vink <ivi@vinkies.net>2025-06-24 10:27:01 +0800
commit4a8a5803d57fae043227863344b3da039afee26e (patch)
treec8b5d9fe3c9c3b86fb61cf769c0a162d2490cbc7 /.local
parentf8204fe96b846ba2455adb46b83bf480ff447ac3 (diff)
bg, ls alias, histsize, redshift, workfs
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/setbg6
-rwxr-xr-x.local/bin/workfs6
2 files changed, 7 insertions, 5 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index 7f5977d..29b71fc 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -11,9 +11,9 @@ if [ $reload -eq 1 ]; then
wal -R
else
if [ -z "$1" ]; then
- sxiv -tob ~/Wallpapers | xargs wal -i
+ sxiv -tob ~/Wallpapers | xargs wal -s -t -i
else
- wal -i "$1"
+ wal -s -t -i "$1"
fi
- kill -HUP "$(pidof dwm)"
fi
+kill -HUP "$(pidof dwm)"
diff --git a/.local/bin/workfs b/.local/bin/workfs
index e9089ab..91c3a0a 100755
--- a/.local/bin/workfs
+++ b/.local/bin/workfs
@@ -1,8 +1,10 @@
#!/bin/sh
dir="$HOME/workfs"
-if [ -d "dir" ]
+if [ -d "$dir" ]
then
fusermount -u "$dir"
+ rmdir "$dir"
else
- sshfs "$WORKSSH" "$dir"
+ mkdir -p "$dir"
+ echo sshfs "$WORKSSH:/Users/$USER" "$dir"
fi