mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-07 12:40:55 +02:00
Make power button a drop-in
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Disable shutting system down on power button
|
||||
# This allows binding the power button to a custom power menu in Hyprland
|
||||
[Login]
|
||||
HandlePowerKey=ignore
|
||||
@@ -1,2 +0,0 @@
|
||||
# Disable shutting system down on power button to bind it to power menu afterwards
|
||||
sudo sed -i 's/.*HandlePowerKey=.*/HandlePowerKey=ignore/' /etc/systemd/logind.conf
|
||||
Reference in New Issue
Block a user