Updated wallpaper
- Use external script - Set wallpaper on screenlayout changes
This commit is contained in:
parent
c5f81634eb
commit
a6d6198e0d
3 changed files with 16 additions and 1 deletions
|
@ -66,3 +66,6 @@ case $nextconfig in
|
||||||
--output DP-1 --off
|
--output DP-1 --off
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Reset wallpaper
|
||||||
|
~/Bin/wallpaper.sh
|
||||||
|
|
11
Bin/wallpaper.sh
Executable file
11
Bin/wallpaper.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# CONFIG
|
||||||
|
DIRECTORY="/home/dbroqua/Nextcloud/images/Wallpaper/Rotation"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# SCRIPT START HERE
|
||||||
|
SELECTED=`find ${DIRECTORY} -type f | shuf -n 1`
|
||||||
|
|
||||||
|
feh --bg-fill ${SELECTED}
|
|
@ -179,7 +179,7 @@ exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
|
||||||
# WALLPAPER
|
# WALLPAPER
|
||||||
#
|
#
|
||||||
|
|
||||||
exec --no-startup-id feh --bg-fill ~/.config/i3/wallpaper
|
exec --no-startup-id ~/Bin/wallpaper.sh
|
||||||
|
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
# Default workspace layout
|
# Default workspace layout
|
||||||
|
@ -199,6 +199,7 @@ bindsym Control+q kill
|
||||||
bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-10'
|
bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-10'
|
||||||
bindsym Mod1+space exec "rofi -show combi"
|
bindsym Mod1+space exec "rofi -show combi"
|
||||||
|
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec terminator
|
bindsym $mod+Return exec terminator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue