i3 to use slock (#590)
it could only work with '&&' and only in this order. i see that it would be logical to "slock" even if a preceding command will fail, though like i said it would only run in this order. i've tried using a script (even in this order) with " ; " it would not run. the audios would mute and the screen would turn off, but it would not lock.
This commit is contained in:
parent
2c02c85aae
commit
933e4149d3
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ bindsym $mod+Ctrl+l move workspace to output right
|
||||||
bindsym $mod+z gaps outer current plus 5
|
bindsym $mod+z gaps outer current plus 5
|
||||||
bindsym $mod+Shift+z gaps outer current minus 5
|
bindsym $mod+Shift+z gaps outer current minus 5
|
||||||
|
|
||||||
bindsym $mod+x exec --no-startup-id mpc pause; exec --no-startup-id pauseallmpv ; exec --no-startup-id i3lock -e -f -c 1d2021 ; exec --no-startup-id xset dpms force off
|
bindsym $mod+x exec --no-startup-id xset dpms force off && mpc pause && pauseallmpv && slock &
|
||||||
bindsym $mod+Shift+x exec --no-startup-id prompt "Shutdown computer?" "$shutdown"
|
bindsym $mod+Shift+x exec --no-startup-id prompt "Shutdown computer?" "$shutdown"
|
||||||
|
|
||||||
bindsym $mod+c exec --no-startup-id cabl
|
bindsym $mod+c exec --no-startup-id cabl
|
||||||
|
|
Loading…
Reference in a new issue