Added i3lock wallpaper changer

This commit is contained in:
Austen Adler 2014-08-21 16:06:24 -04:00
parent baa206243c
commit 81fe5eff73

View File

@ -4,8 +4,7 @@ bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute"
bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle"
#screensaver
bindsym $mod+Shift+z exec "i3lock -i ~/.i3/wall.png; sleep 60; pgrep i3lock && xset dpms force off"
exec --no-startup-id xautolock -time 3 -locker 'i3lock -i ~/.i3/wall.png; sleep 60; pgrep i3lock && xset dpms force off' &
exec --no-startup-id xautolock -time 3 -locker 'i3lock -i `shuf -n1 -e ~/.i3/wall/*`; sleep 60; pgrep i3lock && xset dpms force off' &
#startup
exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/xmodmap.sh&/usr/bin/owncloud&/usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000&wicd-gtk&'
@ -190,7 +189,7 @@ bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+r reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+grave exec "i3lock -i ~/.i3/wall.png; sleep 60; pgrep i3lock && xset dpms force off"
bindsym $mod+grave exec "i3lock -i `shuf -n1 -e ~/.i3/wall/*`; sleep 60; pgrep i3lock && xset dpms force off"
#
bindsym $mod+Shift+grave exec "~/.i3/sleep.sh"
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)