Fixed i3 wallpapering
This commit is contained in:
parent
5f674f92eb
commit
cea8ede6d9
@ -191,10 +191,11 @@ 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 `shuf -n1 -e ~/.i3/wall/*`; sleep 60; pgrep i3lock && xset dpms force off"
|
||||
#
|
||||
bindsym $mod+Shift+grave exec "sudo pm-suspend | i3lock -i `shuf -n1 -e ~/.i3/wall/*`"
|
||||
# To initialize wallpapers, run:
|
||||
# mkdir -p ~/.i3/wall ; cp ~/source ~/.i3/wall ; cd ~/.i3/wall ; rename -v 's/(.* )+//' * ; mogrify -resize `xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]"`^ -verbose -gravity center -format png ; rm *.jpg *.jpeg
|
||||
bindsym $mod+grave exec "i3lock -i `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`; sleep 60; pgrep i3lock && xset dpms force off"
|
||||
bindsym $mod+Shift+grave exec "sudo pm-suspend | i3lock -i `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`"
|
||||
# Tees the filename to /tmp/wall for debugging
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+q restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
|
Loading…
Reference in New Issue
Block a user