diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-31 23:53:19 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-31 23:54:33 +0530 |
commit | a098bf2b6c0f35d37656a31dab33f8346b2191e0 (patch) | |
tree | fd31ae3f53874644467034ffb65c2c3de4f91fc6 /home/wayland/modules | |
parent | f28b2c3631e34d4899641bde9423bbb4c7225e75 (diff) |
home/wayland/sway: set SUDO_ASKPASS
Diffstat (limited to 'home/wayland/modules')
-rw-r--r-- | home/wayland/modules/sway/home.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/home/wayland/modules/sway/home.nix b/home/wayland/modules/sway/home.nix index b1d5465..5c2fb47 100644 --- a/home/wayland/modules/sway/home.nix +++ b/home/wayland/modules/sway/home.nix @@ -8,6 +8,7 @@ background = "${config.xdg.dataHome}/wayland/desktop"; wayland-scripts = pkgs.callPackage ../../pkgs/wayland-scripts {}; cwall = "${wayland-scripts}/bin/cwall"; + daskpass = "${wayland-scripts}/bin/daskpass"; bemenu = "${pkgs.bemenu}/bin/bemenu-run --prompt ' '"; foot = lib.getExe config.programs.foot.package; @@ -51,6 +52,7 @@ in { ]; sessionVariables = { + SUDO_ASKPASS = daskpass; XDG_CURRENT_DESKTOP = "sway"; GRIM_DEFAULT_DIR = config.xdg.userDirs.pictures + "/ss"; }; |