Asahi
Soft reset of dotfiles specific to Asahi, Sway and Neovim.
This commit is contained in:
1 parent
8d688d1107
commit
0bd1501855
84 files changed
+3192
-1973
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ $1 =~ ^[0-9]+$ ]]; then
|
||||
SLEEP_DURATION=$1
|
||||
else
|
||||
SLEEP_DURATION=10
|
||||
fi
|
||||
|
||||
grim /tmp/lockscreen-0.png
|
||||
magick /tmp/lockscreen-0.png -scale 10% -blur 0x1 -resize 1000% /tmp/lockscreen.png
|
||||
swaylock -i /tmp/lockscreen.png &
|
||||
sleep $SLEEP_DURATION
|
||||
systemctl sleep
|
||||
Reference in new issue
Block a user