aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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