summaryrefslogtreecommitdiff
path: root/local/.local/scripts/setbg
diff options
context:
space:
mode:
authorRasmus <rasmus.luha@gmail.com>2023-04-08 00:27:03 +0300
committerRasmus <rasmus.luha@gmail.com>2023-04-08 00:27:03 +0300
commita16bdfe930d89e1a7fb354b78d16e8742118f76d (patch)
treef32aabd929a485ac24ea2b3fb1c9c9d041f27478 /local/.local/scripts/setbg
checkers
Diffstat (limited to 'local/.local/scripts/setbg')
-rwxr-xr-xlocal/.local/scripts/setbg7
1 files changed, 7 insertions, 0 deletions
diff --git a/local/.local/scripts/setbg b/local/.local/scripts/setbg
new file mode 100755
index 0000000..4b0db10
--- /dev/null
+++ b/local/.local/scripts/setbg
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+xwallpaper --zoom $1
+wal -c
+wal -i $1 >/dev/null
+sed -i '/SchemeUrg/d' /home/rasmus/.cache/wal/colors-wal-dwm.h
+(cd $HOME/.config/suckless.all/dwm && sudo make clean install > /dev/null)