2023-06-11 02:08:06 -04:00
|
|
|
_: {
|
2023-03-26 06:12:19 -04:00
|
|
|
home.file.".local/bin/lock" = {
|
|
|
|
executable = true;
|
|
|
|
text = ''
|
2023-04-23 17:45:37 -04:00
|
|
|
swayidle -w \
|
2023-09-01 14:25:37 -04:00
|
|
|
timeout 500 'swaylock -f --image ~/Pictures/wallpapers/mumei.png --clock --grace 5 --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \
|
|
|
|
timeout 600 'hyprctl dispatch dpms off' \
|
2023-04-23 17:45:37 -04:00
|
|
|
resume 'hyprctl dispatch dpms on' \
|
2023-09-01 14:25:37 -04:00
|
|
|
before-sleep 'swaylock -f --image ~/Picture/wallpapers/mumei.png --clock --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b'
|
2023-03-26 06:12:19 -04:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|