added hyprexit workaround

This commit is contained in:
willifan 2024-11-03 20:43:18 +01:00
parent fb85169fdb
commit 8bf1ac05e1
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(pkgs.writeShellScriptBin "hyprexit" ''
${hyprland}/bin/hyprctl dispatch exit
${systemd}/bin/loginctl terminate-user willifan
'')
];
}