fix powerbutton - 2
This commit is contained in:
@@ -186,6 +186,12 @@
|
||||
# Disable powerbutton => for use with eww
|
||||
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
||||
services.acpid.enable = true;
|
||||
environment.etc = {
|
||||
"acpi/events/power".text = ''
|
||||
event=button/power.*
|
||||
action=/home/elias/eww/scripts/powermenu.sh
|
||||
'';
|
||||
};
|
||||
|
||||
# Set stateVersion. Leave it as set.
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
Reference in New Issue
Block a user