Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- DISK_WALL_DIR="$HOME/.local/share/walls"
- WALL_CMD="habak -mS -hi"
- WALL_DIR="/tmp/wallpapers"
- mkdir "$WALL_DIR"
- cp --no-dereference "$DISK_WALL_DIR"/{0,1,2,3,4,5,6,7,8,9,music_default_cover} "$WALL_DIR"
- xprop -root -spy _NET_CURRENT_DESKTOP | (
- while read -r; do
- # Poor man's conky
- # if [[ $CURR_DESKTOP -eq 9 ]]; then
- # habak -mS -hi "$WALL_DIR/$CURR_DESKTOP" -mf "/usr/share/fonts/adobe-source-code-pro/SourceCodePro-BoldIt.otf" -mh 12 -mp 30,100 -mc 12,32,52,255 -ht "$(~/.local/bin/scripts/favourite_habak)"
- # continue
- # fi
- $WALL_CMD "$WALL_DIR/${REPLY##* }" &
- done
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement