summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/i3/config23
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