From 0e6581339c8fbb65e56514450c715ed6766ad5db Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 10 Mar 2021 11:13:22 +0000 Subject: [PATCH] Add KDE overrides for i3 The rest will come later, probably --- files/i3.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/files/i3.conf b/files/i3.conf index 03baf57..cb58721 100644 --- a/files/i3.conf +++ b/files/i3.conf @@ -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'"