mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Reset keyboard layout to default first one on the lock screen (#3541)
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
# Lock the screen
|
# Lock the screen
|
||||||
pidof hyprlock || hyprlock &
|
pidof hyprlock || hyprlock &
|
||||||
|
|
||||||
|
# Set keyboard layout to default (first layout)
|
||||||
|
hyprctl switchxkblayout all 0 > /dev/null 2>&1
|
||||||
|
|
||||||
# Ensure 1password is locked
|
# Ensure 1password is locked
|
||||||
if pgrep -x "1password" >/dev/null; then
|
if pgrep -x "1password" >/dev/null; then
|
||||||
1password --lock &
|
1password --lock &
|
||||||
|
|||||||
Reference in New Issue
Block a user