aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-15 16:29:58 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-15 16:29:58 +0100
commit168a0e173a75a83b567a8a8c47f1448c1744d06f (patch)
treee93fa0c33eb864b7f6d4165edabf19da0e2a2151 /sway
parent1ae4cc20cc2931c6b8270a87f7457a38d5bb34a5 (diff)
downloaddotfiles-168a0e173a75a83b567a8a8c47f1448c1744d06f.tar.gz
i3/sway keepass
Diffstat (limited to 'sway')
-rw-r--r--sway/config.d/00-sway.conf2
-rw-r--r--sway/config.d/40-app-shortcuts.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/sway/config.d/00-sway.conf b/sway/config.d/00-sway.conf
index c5f3063..c907650 100644
--- a/sway/config.d/00-sway.conf
+++ b/sway/config.d/00-sway.conf
@@ -24,3 +24,5 @@ exec swayidle -w \
timeout 1805 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock'
+
+exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
diff --git a/sway/config.d/40-app-shortcuts.conf b/sway/config.d/40-app-shortcuts.conf
index 9c27915..3d59dcb 100644
--- a/sway/config.d/40-app-shortcuts.conf
+++ b/sway/config.d/40-app-shortcuts.conf
@@ -1,5 +1,7 @@
# vi: ft=i3config
+bindsym $mod+minus [app_id="org.keepassxc.KeePassXC"] scratchpad show
+
bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec "$term -t termite_floating"
@@ -18,7 +20,7 @@ bindsym $mod+Shift+b exec "firefox --private-window"
#"scrot ~/Screenshots/Screenshot%Y-%m-%d%H:%M:%S.png"
# rofi
-bindsym $mod+d exec j4-dmenu-desktop --dmenu='bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --fn "pango:DejaVu Sans Mono 12"' --term='alacritty'
+bindsym $mod+d exec j4-dmenu-desktop --dmenu='bemenu -i --nb "#3f3f3f" --nf "#dcdccc" --fn "monospace 12"' --term='$term'
# notifications
bindsym $mod+n exec "kill -s USR1 $(pidof deadd-notification-center)"