diff options
| author | Hekuran <62762955+narukeh@users.noreply.github.com> | 2020-04-22 18:34:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 12:34:43 -0400 |
| commit | 933e4149d350f0c73a003a94a6cee45f277a6c17 (patch) | |
| tree | 7cd11670fc1bf72fc63b6f1785b0eaf469a84026 | |
| parent | 2c02c85aae3f0ade67d26d7e87c0c57c10b591cd (diff) | |
| download | eibhear-933e4149d350f0c73a003a94a6cee45f277a6c17.tar.gz eibhear-933e4149d350f0c73a003a94a6cee45f277a6c17.tar.zst eibhear-933e4149d350f0c73a003a94a6cee45f277a6c17.zip | |
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.
| -rw-r--r-- | .config/i3/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config index ea24277..ed7e7a5 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -134,7 +134,7 @@ bindsym $mod+Ctrl+l move workspace to output right bindsym $mod+z gaps outer current plus 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+c exec --no-startup-id cabl |
