mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Use power button to open omarchy-menu system (#769)
* Use power button to open omarchy-menu system * Added migration script * setsid so it doesn't exit with the terminal * Spacing --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
5
migrations/1755208929.sh
Normal file
5
migrations/1755208929.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
echo "Change behaviour of XF86PowerOff button to show omarchy system menu insead of shutting down immediately"
|
||||
|
||||
source $OMARCHY_PATH/install/config/ignore-power-button.sh
|
||||
setsid systemd-inhibit --what=handle-power-key --why="Temporary disable power button before restart" sleep infinity &
|
||||
|
||||
Reference in New Issue
Block a user