Tweak lockscreen and themes
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
# configured for wayland
|
||||
set LOCKPROG swaylock
|
||||
set OPTIONAL_CMDS rg sed grim lockscreen-blur
|
||||
set OPTIONAL_CMDS rg sed grim lockscreen-blur jq
|
||||
set CONFIG "$HOME/.config/sway/swaylock.config"
|
||||
set DEFAULT_ARGS --daemonize --ignore-empty-password --show-failed-attempts --color 302f3b --config $CONFIG
|
||||
set BLUR_FACTOR 40
|
||||
@ -29,7 +29,7 @@ switch $XDG_CURRENT_DESKTOP
|
||||
case sway
|
||||
set outputs (swaymsg -t get_outputs -r | rg "name" | sed 's/^.*"name": "//' | sed 's/",$//')
|
||||
case niri
|
||||
set outputs (niri msg outputs | rg --pcre2 -o '[^" ]+(?=")')
|
||||
set outputs (niri msg --json outputs | jq -r 'keys | join("\n")')
|
||||
case '*'
|
||||
echo "unsupported compositor, falling back to basic mode."
|
||||
$LOCKPROG $DEFAULT_ARGS
|
||||
|
||||
Reference in New Issue
Block a user