Add KDE overrides for i3

The rest will come later, probably
This commit is contained in:
Jake Howard 2021-03-10 11:13:22 +00:00
parent e238a03c25
commit 0e6581339c
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -4,6 +4,21 @@ font pango:monospace 8
focus_follows_mouse no
floating_modifier $mod
# KDE overrides https://userbase.kde.org/Tutorials/Using_Other_Window_Managers_with_Plasma#Configure_i3
for_window [title="Desktop — Plasma"] kill; floating enable; border none
for_window [class="plasmashell"] floating enable;
for_window [class="Plasma"] floating enable; border none
for_window [title="plasma-desktop"] floating enable; border none
for_window [title="win7"] floating enable; border none
for_window [class="krunner"] floating enable; border none
for_window [class="Kmix"] floating enable; border none
for_window [class="Klipper"] floating enable; border none
for_window [class="Plasmoidviewer"] floating enable; border none
for_window [class="(?i)*nextcloud*"] floating disable
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move right 700px, move down 450px
no_focus [class="plasmashell" window_type="notification"]
# i3 shortcuts
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"