summaryrefslogtreecommitdiff
path: root/Scripts/set_wallpaper
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/set_wallpaper')
-rwxr-xr-xScripts/set_wallpaper12
1 files changed, 12 insertions, 0 deletions
diff --git a/Scripts/set_wallpaper b/Scripts/set_wallpaper
new file mode 100755
index 0000000..4fdfc45
--- /dev/null
+++ b/Scripts/set_wallpaper
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+# get color scheme based on wallpaper provided to first (laptop) monitor
+wal -i /home/slime/Pictures/papes/${1} --cols16 -n
+
+# set wallpapers
+feh --bg-scale /home/slime/Pictures/papes/${1} /home/slime/Pictures/papes/${2}
+
+# link configs for non-supported wal programs
+ln -sf ~/.cache/wal/theme.rasi ~/.config/rofi/theme.rasi
+ln -sf ~/.cache/wal/conky.conf ~/.config/conky/conky.conf
+