diff --git a/sway.nix b/sway.nix index 35ab00b..f5a2f60 100644 --- a/sway.nix +++ b/sway.nix @@ -178,8 +178,8 @@ "${modifier}+Shift+space" = "floating toggle"; "${modifier}+space" = "focus mode_toggle"; "${modifier}+a" = "focus parent"; - # "${modifier}+d" = "focus child"; - "${modifier}+d" = "exec ${menu}"; + "${modifier}+d" = "focus child"; + "${modifier}+v" = "exec ${menu}"; "${modifier}+x" = "sticky toggle"; "${modifier}+Shift+x" = "move workspace to output left"; @@ -248,6 +248,8 @@ ]; }; startup = [ + { command = "systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK"; } + { command = "hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK" ; } { command = "swayidle -w \\ timeout 300 'swaylock -SeFfk --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --grace 2 --fade-in 0.2 --submit-on-touch' \\ timeout 600 'swaymsg output * dpms off' \\