mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Move omarchy-lock-screen to omarchy-system-lock to fit with the others
This commit is contained in:
+1
-1
@@ -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,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user