diff options
author | Karel Kočí <cynerd@email.cz> | 2016-10-15 19:22:44 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-10-15 19:22:44 +0200 |
commit | 02a2196150b16ee1c343a5587cadb177016fe222 (patch) | |
tree | 8ef95619620a4689a12d26eff0a0287954a2cd3c /config/i3 | |
parent | b17cad80bfaf348ce805868dc4b35211a4c32906 (diff) | |
download | myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.gz myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.bz2 myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.zip |
Update files to changes done while abandoning systemd
Now I use openrc.
Diffstat (limited to 'config/i3')
-rw-r--r-- | config/i3/config | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/config/i3/config b/config/i3/config index a3340aa..13bcde4 100644 --- a/config/i3/config +++ b/config/i3/config @@ -137,14 +137,13 @@ bindsym $mod+Shift+r restart set $Locker i3lock -d -c 000000 && sleep 1 -set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown +set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown mode "$mode_system" { bindsym l exec --no-startup-id $Locker, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default" - bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default" - bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default" - bindsym r exec --no-startup-id systemctl reboot, mode "default" - bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" + bindsym s exec --no-startup-id sys-suspend, mode "default" + bindsym r exec --no-startup-id sys-reboot, mode "default" + bindsym Shift+s exec --no-startup-id sys-shutdown, mode "default" # back to normal: Enter or Escape bindsym Return mode "default" |