Hyprland: Improve lockscreen
This commit is contained in:
@@ -54,9 +54,10 @@ input-field {
|
|||||||
size = $image_size, $image_size
|
size = $image_size, $image_size
|
||||||
|
|
||||||
outline_thickness = 10
|
outline_thickness = 10
|
||||||
outer_color = rgba(0, 0, 0, 0.0)
|
outer_color = rgba(255, 255, 255, 0.0)
|
||||||
inner_color = rgba(0, 0, 0, 0.0)
|
inner_color = rgba(0, 0, 0, 0.0)
|
||||||
check_color = rgba(0, 0, 0, 0.0)
|
check_color = rgba(0, 0, 0, 0.0)
|
||||||
|
fail_color = rgba(255, 0, 0, 1.0)
|
||||||
|
|
||||||
font_family = DejaVu Sans Serif
|
font_family = DejaVu Sans Serif
|
||||||
font_color = rgba(255, 255, 255, 0.9)
|
font_color = rgba(255, 255, 255, 0.9)
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ if [ "$WM" = "bspwm" ]; then
|
|||||||
logout="bspc quit"
|
logout="bspc quit"
|
||||||
elif [ "$WM" = "i3" ]; then
|
elif [ "$WM" = "i3" ]; then
|
||||||
logout="i3-msg exit"
|
logout="i3-msg exit"
|
||||||
|
elif [ "$WM" = "hyprland" ]; then
|
||||||
|
logout="hyprctl dispatch exit"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
commands="\
|
commands="\
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
LOCK="$XDG_CACHE_HOME/lock.png"
|
LOCK="$XDG_CACHE_HOME/lock.png"
|
||||||
|
|
||||||
|
if [ "$WM" = "hyprland" ]; then
|
||||||
|
hyprlock
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Cache the lock image
|
# Cache the lock image
|
||||||
if [ ! -f "$LOCK" ]; then
|
if [ ! -f "$LOCK" ]; then
|
||||||
touch "$LOCK"
|
touch "$LOCK"
|
||||||
|
|||||||
Reference in New Issue
Block a user