added hyprexit workaround
This commit is contained in:
parent
fb85169fdb
commit
8bf1ac05e1
2 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
imports = [
|
imports = [
|
||||||
./fuzzel.nix
|
./fuzzel.nix
|
||||||
|
./hyprexit.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./hyprpaper.nix
|
./hyprpaper.nix
|
||||||
./mako.nix
|
./mako.nix
|
||||||
|
|
9
users/willifan/desktop/hyprland/Lillie/hyprexit.nix
Normal file
9
users/willifan/desktop/hyprland/Lillie/hyprexit.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
(pkgs.writeShellScriptBin "hyprexit" ''
|
||||||
|
${hyprland}/bin/hyprctl dispatch exit
|
||||||
|
${systemd}/bin/loginctl terminate-user willifan
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue