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