aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-01-16 10:52:22 +0100
committerKarel Kočí <cynerd@email.cz>2019-01-16 10:53:26 +0100
commit29c4152ffa3b2570b653f274a3f4cac9f10c4c35 (patch)
treeb92ea923164c9d909e7985606a3ad077f26ca25b
parent673a0e86364ac9278e01bac0f310d08fc0c012ff (diff)
downloadmyconfigs-29c4152ffa3b2570b653f274a3f4cac9f10c4c35.tar.gz
myconfigs-29c4152ffa3b2570b653f274a3f4cac9f10c4c35.tar.bz2
myconfigs-29c4152ffa3b2570b653f274a3f4cac9f10c4c35.zip
i3: use xss-lock to lock screen and migrate to elogind
-rw-r--r--config/i3/config15
m---------private0
2 files changed, 8 insertions, 7 deletions
diff --git a/config/i3/config b/config/i3/config
index 1d850f4..1d2b356 100644
--- a/config/i3/config
+++ b/config/i3/config
@@ -107,11 +107,11 @@ bindsym $mod+Shift+r restart
set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
- bindsym l exec --no-startup-id myi3lock, mode "default"
+ bindsym l exec --no-startup-id loginctl lock-session $XDG_SESSION_ID, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
- bindsym s exec --no-startup-id sudo pm-suspend, mode "default"
- bindsym r exec --no-startup-id sudo reboot, mode "default"
- bindsym Shift+s exec --no-startup-id ~/.config/i3/scripts/shutdown, mode "default"
+ bindsym s exec --no-startup-id loginctl suspend, mode "default"
+ bindsym r exec --no-startup-id loginctl reboot, mode "default"
+ bindsym Shift+s exec --no-startup-id loginctl poweroff, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
@@ -178,13 +178,14 @@ bindsym $mod+Shift+m exec urxvt -title "Music player daemon client" -e ncmpcpp
# Start i3blocks to display a workspace bar
bar {
- position top
- status_command i3blocks
- tray_output primary
+ position top
+ status_command i3blocks
+ tray_output primary
}
# Start daemons
exec --no-startup-id dunst
+exec --no-startup-id xss-lock -- myi3lock
# Set background
exec --no-startup-id i3background
# Start pidgin
diff --git a/private b/private
-Subproject abad15301adc421d48a17f4bc5a6bc2c408502a
+Subproject 42961f76c253eb1b313dfb496902a73c0ccc623