aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
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)"