sway: fix nixos's sway dbus for pinentry
This commit is contained in:
parent
8f9ad9a19e
commit
08ff05849b
6
sway.nix
6
sway.nix
|
@ -178,8 +178,8 @@
|
||||||
"${modifier}+Shift+space" = "floating toggle";
|
"${modifier}+Shift+space" = "floating toggle";
|
||||||
"${modifier}+space" = "focus mode_toggle";
|
"${modifier}+space" = "focus mode_toggle";
|
||||||
"${modifier}+a" = "focus parent";
|
"${modifier}+a" = "focus parent";
|
||||||
# "${modifier}+d" = "focus child";
|
"${modifier}+d" = "focus child";
|
||||||
"${modifier}+d" = "exec ${menu}";
|
"${modifier}+v" = "exec ${menu}";
|
||||||
|
|
||||||
"${modifier}+x" = "sticky toggle";
|
"${modifier}+x" = "sticky toggle";
|
||||||
"${modifier}+Shift+x" = "move workspace to output left";
|
"${modifier}+Shift+x" = "move workspace to output left";
|
||||||
|
@ -248,6 +248,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
startup = [
|
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 \\
|
{ 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 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' \\
|
timeout 600 'swaymsg output * dpms off' \\
|
||||||
|
|
Loading…
Reference in New Issue