diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-03-12 19:54:51 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-03-12 19:54:51 +0530 |
commit | 54b772cae06eb25adf33297e35234f33ded81a7b (patch) | |
tree | f287ee48faa8013e4a8f0ee764a6d3cd850bb24d /.scripts/setbg | |
parent | 7197e45d94dbcf4877d585fff8e634896876ae83 (diff) |
neovim addition
Diffstat (limited to '.scripts/setbg')
-rwxr-xr-x | .scripts/setbg | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.scripts/setbg b/.scripts/setbg new file mode 100755 index 0000000..f267a3a --- /dev/null +++ b/.scripts/setbg @@ -0,0 +1,23 @@ +#!/bin/sh + +if [ -z "$1" ]; then + echo "Chosing a random wallpaper..." + wall=$(find $HOME/Pictures/Wallpaper/w/wow -type f | shuf -n 1) + echo "Setting up the wallpaper: $(echo $wall|cut -d '/' -f 8)" +else + wall="$1" +fi + +echo "Setting up the wallpaper: $(echo $wall)" +xwallpaper --zoom $wall && +echo "Generating pywal color schemes..." +wal -n -i $wall >/dev/null && +echo "dwm reading Xresources color values at runtime" +xdotool key super+F5 +pywal-discord +$HOME/.local/usr/wal-telegram/wal-telegram +ln -sf ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc +pkill dunst +dunst & +#(cd $HOME/.local/src/dwm && sudo make clean install>/dev/null) +echo "^_^ Enjoy your new look!!!" |