Adds background switcher systemd files to dotfiles
This commit is contained in:
parent
381c66d766
commit
fc2ea10d47
4 changed files with 24 additions and 0 deletions
6
systemd/.config/systemd/user/randomBackground
Executable file
6
systemd/.config/systemd/user/randomBackground
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
backgroundDir="$HOME/Pictures/wallpapers/"
|
||||
|
||||
ls "$backgroundDir" | /usr/bin/shuf -n 1 | /usr/bin/awk \
|
||||
"{print \"$backgroundDir\" \$1}" | /usr/bin/xargs /usr/bin/feh --bg-fill
|
Loading…
Add table
Add a link
Reference in a new issue