Dynamic wallpaper script
This commit is contained in:
8
bin/wallpaper
Executable file
8
bin/wallpaper
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
wallpapers=~/wallpapers
|
||||||
|
|
||||||
|
ls $wallpapers | sort -R | tail -1 | while read file; do
|
||||||
|
/usr/bin/feh --bg-fill $wallpapers/$file
|
||||||
|
done
|
||||||
|
exit 0
|
||||||
@@ -180,7 +180,7 @@ bindsym $mod+c mode "cmus"
|
|||||||
|
|
||||||
exec xrandr --output DVI-0 --primary --mode 1920x1200 --pos 1200x390 --output DVI-1 --mode 1920x1200 --rotate left --pos 0x0
|
exec xrandr --output DVI-0 --primary --mode 1920x1200 --pos 1200x390 --output DVI-1 --mode 1920x1200 --rotate left --pos 0x0
|
||||||
|
|
||||||
exec --no-startup-id feh --bg-fill ~/wallpapers/Forest.png
|
exec --no-startup-id ~/.dotfiles/bin/wallpaper
|
||||||
exec --no-startup-id compton
|
exec --no-startup-id compton
|
||||||
exec_always --no-startup-id ~/.dotfiles/polybar/launch.sh
|
exec_always --no-startup-id ~/.dotfiles/polybar/launch.sh
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ mode "cmus" {
|
|||||||
|
|
||||||
bindsym $mod+c mode "cmus"
|
bindsym $mod+c mode "cmus"
|
||||||
|
|
||||||
exec --no-startup-id feh --bg-fill ~/wallpapers/Forest.png
|
exec --no-startup-id ~/.dotfiles/bin/wallpaper
|
||||||
exec --no-startup-id compton
|
exec --no-startup-id compton
|
||||||
exec_always --no-startup-id ~/.dotfiles/polybar/launch_magnum.sh
|
exec_always --no-startup-id ~/.dotfiles/polybar/launch_magnum.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user