aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3')
-rw-r--r--i3/config.d/40-app-settings.conf4
-rw-r--r--i3/config.d/40-app-shortcuts.conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/i3/config.d/40-app-settings.conf b/i3/config.d/40-app-settings.conf
index bc63edb..a28c515 100644
--- a/i3/config.d/40-app-settings.conf
+++ b/i3/config.d/40-app-settings.conf
@@ -1,7 +1,9 @@
# vi: ft=i3config
-bindsym $mod+minus [class="KeePassXC"] scratchpad show
+# XORG
for_window [class="KeePassXC" title="^.*KeePassXC$"] move scratchpad
+# SWAY
+for_window [app_id="org.keepassxc.KeePassXC" title="^.*KeePassXC$"] move scratchpad
for_window [class="feh"] floating enable
diff --git a/i3/config.d/40-app-shortcuts.conf b/i3/config.d/40-app-shortcuts.conf
index 7d1a00b..4254e8d 100644
--- a/i3/config.d/40-app-shortcuts.conf
+++ b/i3/config.d/40-app-shortcuts.conf
@@ -1,5 +1,7 @@
# vi: ft=i3config
+bindsym $mod+minus [class="KeePassXC"] scratchpad show
+
bindsym $mod+Return exec "termite -t termite"
bindsym $mod+Shift+Return exec "termite -t termite_floating"