diff options
author | Amin Bandali <bandali@gnu.org> | 2023-12-23 12:02:06 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2023-12-23 12:02:06 -0500 |
commit | 71d93214d63621804b3f35a7023355d11bbac058 (patch) | |
tree | d5d83b1849474e1561589b7c63118cfa30113a2d /.config/i3/config | |
parent | b84e372efd02399b7e71450695ee9f2f21930c4a (diff) | |
download | configs-71d93214d63621804b3f35a7023355d11bbac058.tar.gz configs-71d93214d63621804b3f35a7023355d11bbac058.tar.xz configs-71d93214d63621804b3f35a7023355d11bbac058.zip |
Small i3 config tweaks
Diffstat (limited to '')
-rw-r--r-- | .config/i3/config | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/.config/i3/config b/.config/i3/config index 8547088..b74bdc8 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -134,10 +134,10 @@ mode "$mode_system" { # bindsym l exec i3lock, mode "default" bindsym l exec xscreensaver-command -lock, mode "default" bindsym e exec i3-msg exit, mode "default" - bindsym s exec systemctl suspend, mode "default" - bindsym h exec systemctl hibernate, mode "default" - bindsym r exec systemctl reboot, mode "default" - bindsym Shift+s exec systemctl poweroff -i, mode "default" + # bindsym s exec systemctl suspend, mode "default" + # bindsym h exec systemctl hibernate, mode "default" + bindsym r exec sudo reboot, mode "default" + bindsym Shift+s exec sudo poweroff, mode "default" bindsym Return mode "default" bindsym Escape mode "default" @@ -184,6 +184,19 @@ mode "$mode_theme" { } bindsym $mod+t mode "$mode_theme" +set $mode_dunst dunst (c)lose | c(.)ntext | (a)ction | (h)istory +mode "$mode_dunst" { + bindsym c exec --no-startup-id dunstctl close + bindsym period exec --no-startup-id dunstctl context, mode "default" + bindsym a exec --no-startup-id dunstctl action, mode "default" + bindsym h exec --no-startup-id dunstctl history-pop + + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym q mode "default" +} +bindsym $mod+d mode "$mode_dunst" + # pop-ups for_window [window_role="pop-up"] floating enable @@ -193,8 +206,10 @@ for_window [class="Mumble"] floating enable for_window [class="Nm-connection-editor"] floating enable for_window [class="Virt-manager"] floating enable for_window [class="Vncviewer"] floating enable +for_window [class="TigerVNC Viewer"] floating enable for_window [class="Engrampa"] floating enable for_window [class="Caja"] floating enable +for_window [class="Thunar"] floating enable # no title bars for_window [class="^.*"] border pixel 4 |