Compare commits
2 Commits
a2d35fa565
...
056211fc5d
| Author | SHA1 | Date | |
|---|---|---|---|
|
056211fc5d
|
|||
|
237fa22c3c
|
@ -208,9 +208,9 @@ monitor=,preferred,auto,auto
|
||||
monitor=DP-2,3440x1440@144.00000,auto,auto
|
||||
{% end %}
|
||||
{% if hostname == "buran" %}
|
||||
monitor=eDP-1,3456x2160@60.00100,0x680,2.0
|
||||
monitor=DP-1,5120x2160@59.98500,1728x450,1.3
|
||||
monitor=DP-3,2560x1440@59.95100,5666x0,1.0,transform,3
|
||||
monitor=eDP-1,3456x2160@60.00100,0x680,2.0
|
||||
monitor=DP-1,5120x2160@59.98500,1728x450,1.25
|
||||
monitor=DP-3,2560x1440@59.95100,5824x0,1.0,transform,3
|
||||
# transform list
|
||||
# normal (no transforms) -> 0
|
||||
# 90 degrees -> 1
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
set LOCKPROG swaylock
|
||||
set OPTIONAL_CMDS grep sed grim lockscreen-blur
|
||||
set CONFIG "$HOME/.config/sway/swaylock.config"
|
||||
set FALLBACK_ARGS --config $CONFIG --color "302f3b"
|
||||
set DEFAULT_ARGS --daemonize --color "302f3b" --config $CONFIG
|
||||
set BLUR_FACTOR 40
|
||||
|
||||
# check if lock program is running
|
||||
@ -16,7 +16,7 @@ end
|
||||
for cmd in $OPTIONAL_CMDS
|
||||
if not command -v $cmd &>/dev/null
|
||||
echo "$cmd could not be found, falling back to basic mode."
|
||||
$LOCKPROG $FALLBACK_ARGS
|
||||
$LOCKPROG $DEFAULT_ARGS
|
||||
exit 0
|
||||
end
|
||||
end
|
||||
@ -43,5 +43,5 @@ end
|
||||
|
||||
wait
|
||||
|
||||
$LOCKPROG --color "302f3b" --config $HOME/.config/sway/swaylock.config $images
|
||||
$LOCKPROG $DEFAULT_ARGS $images
|
||||
|
||||
|
||||
Reference in New Issue
Block a user