From 168a0e173a75a83b567a8a8c47f1448c1744d06f Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 15 Jan 2023 16:29:58 +0100 Subject: i3/sway keepass --- sway/config.d/00-sway.conf | 2 ++ sway/config.d/40-app-shortcuts.conf | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'sway') 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)" -- cgit v1.2.3