Reset keyboard layout to default first one on the lock screen (#3541)

This commit is contained in:
Alexander
2025-11-28 17:06:54 +02:00
committed by GitHub
parent 16d0133037
commit a8b8eb6f5e

View File

@@ -3,6 +3,9 @@
# Lock the screen
pidof hyprlock || hyprlock &
# Set keyboard layout to default (first layout)
hyprctl switchxkblayout all 0 > /dev/null 2>&1
# Ensure 1password is locked
if pgrep -x "1password" >/dev/null; then
1password --lock &