fix logout and remove erroneous script

This commit is contained in:
Tyler Kelley 2024-02-24 12:32:12 -06:00
parent c5dbc62aef
commit 8cca098f5a
3 changed files with 1 additions and 8 deletions

View File

@ -24,7 +24,6 @@ in {
(import ./../scripts/rofi-launcher.nix { inherit pkgs; }) (import ./../scripts/rofi-launcher.nix { inherit pkgs; })
(import ./../scripts/screenshootin.nix { inherit pkgs; }) (import ./../scripts/screenshootin.nix { inherit pkgs; })
(import ./../scripts/list-hypr-bindings.nix { inherit pkgs; }) (import ./../scripts/list-hypr-bindings.nix { inherit pkgs; })
(import ./../scripts/logout-sys.nix { inherit pkgs; })
]; ];
programs.gh.enable = true; programs.gh.enable = true;

View File

@ -20,7 +20,7 @@ in {
} }
{ {
"label" = "logout"; "label" = "logout";
"action" = "logout-sys"; "action" = "sleep 1; hyprctl dispatch exit";
"text" = "Exit"; "text" = "Exit";
"keybind" = "e"; "keybind" = "e";
} }

View File

@ -1,6 +0,0 @@
{ pkgs, username }:
pkgs.writeShellScriptBin "logout-sys" ''
sleep 1
killall -9 Hyprland sleep 2
''