DUNST and lockscreen

This commit is contained in:
2024-09-27 13:22:46 +03:00
parent a981b41e36
commit 4716dbb10e
2 changed files with 3 additions and 1 deletions

View File

@@ -207,6 +207,8 @@ mode "switch"{
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
bindsym $mod+semicolon mode "switch" bindsym $mod+semicolon mode "switch"
# System mode menu # System mode menu
set $screenlock i3lock -i ~/Pictures/lockscreen.png
set $mode_system "What to do? (l) lock, (e) logout, (r) reboot, (s) suspend, (Shift+s) shutdown" set $mode_system "What to do? (l) lock, (e) logout, (r) reboot, (s) suspend, (Shift+s) shutdown"
mode $mode_system { mode $mode_system {
bindsym l exec $screenlock; mode "default" bindsym l exec $screenlock; mode "default"

View File

@@ -42,7 +42,7 @@ exec --no-startup-id darkman run
#workspace_auto_back_and_forth yes #workspace_auto_back_and_forth yes
# dunstctl binds # dunstctl binds
#bindsym Ctrl+space exec --no-startup-id dunstctl close-all bindsym $mod+Ctrl+space exec --no-startup-id dunstctl close-all
bindsym Ctrl+shift+semicolon exec --no-startup-id dunstctl history-pop bindsym Ctrl+shift+semicolon exec --no-startup-id dunstctl history-pop