Move omarchy-lock-screen to omarchy-system-lock to fit with the others

This commit is contained in:
David Heinemeier Hansson
2026-04-29 15:08:20 +02:00
parent a7593ade7a
commit 74a3797cf0
7 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -600,7 +600,7 @@ show_system_menu() {
case $(menu "System" "$options") in
*Screensaver*) omarchy-launch-screensaver force ;;
*Lock*) omarchy-lock-screen ;;
*Lock*) omarchy-system-lock ;;
*Suspend*) systemctl suspend ;;
*Hibernate*) systemctl hibernate ;;
*Logout*) omarchy-system-logout ;;
+1 -1
View File
@@ -1,5 +1,5 @@
general {
lock_cmd = omarchy-lock-screen # lock screen and 1password
lock_cmd = omarchy-system-lock # lock screen and 1password
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = sleep 1 && hyprctl dispatch dpms on # delay for PAM readiness, then turn on display.
inhibit_sleep = 3 # wait until screen is locked
+1 -1
View File
@@ -7,7 +7,7 @@
#
# show_system_menu() {
# case $(menu "System" " Lock\n󰐥 Shutdown") in
# *Lock*) omarchy-lock-screen ;;
# *Lock*) omarchy-system-lock ;;
# *Shutdown*) omarchy-system-shutdown ;;
# *) back_to show_main_menu ;;
# esac
+1 -1
View File
@@ -64,4 +64,4 @@ bindd = SUPER CTRL, Z, Zoom in, exec, hyprctl keyword cursor:zoom_factor $(hyprc
bindd = SUPER CTRL ALT, Z, Reset zoom, exec, hyprctl keyword cursor:zoom_factor 1
# Lock system
bindd = SUPER CTRL, L, Lock system, exec, omarchy-lock-screen
bindd = SUPER CTRL, L, Lock system, exec, omarchy-system-lock
+1 -1
View File
@@ -308,7 +308,7 @@ omarchy-font-set <name> # Change font
omarchy-update # Full system update
omarchy-version # Show Omarchy version
omarchy-debug --no-sudo --print # Debug info (ALWAYS use these flags)
omarchy-lock-screen # Lock screen
omarchy-system-lock # Lock screen
omarchy-system-shutdown # Shutdown
omarchy-system-reboot # Reboot
```
+6
View File
@@ -0,0 +1,6 @@
echo "Rename lock screen command in Hypridle config"
if grep -q 'omarchy-lock-screen' ~/.config/hypr/hypridle.conf; then
sed -i 's/omarchy-lock-screen/omarchy-system-lock/g' ~/.config/hypr/hypridle.conf
omarchy-restart-hypridle
fi