mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Don't submit empty passwords on lock screen
This commit is contained in:
parent
9450ac868e
commit
b9792f7ba1
@ -1,5 +1,9 @@
|
||||
source = ~/.config/omarchy/current/theme/hyprlock.conf
|
||||
|
||||
general {
|
||||
ignore_empty_input = true
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
color = $color
|
||||
|
||||
5
migrations/1764378788.sh
Normal file
5
migrations/1764378788.sh
Normal file
@ -0,0 +1,5 @@
|
||||
echo "Ignore empty passwords on lock screen"
|
||||
|
||||
if ! grep -q "ignore_empty_input" ~/.config/hypr/hyprlock.conf; then
|
||||
sed -i "/source =/a\ \ngeneral {\n ignore_empty_input = true\n}" ~/.config/hypr/hyprlock.conf
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user