Modernize i3 setup: alacritty, dunst, rofi, i3blocks, blurlock, picom updates
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
#!/bin/bash
|
||||
# /usr/bin/blurlock
|
||||
|
||||
# take screenshot
|
||||
scrot /tmp/screenshot.png
|
||||
|
||||
# blur it
|
||||
convert /tmp/screenshot.png -blur 0x12 /tmp/screenshotblur.png
|
||||
rm /tmp/screenshot.png
|
||||
|
||||
# lock the screen
|
||||
i3lock -i /tmp/screenshotblur.png
|
||||
|
||||
# sleep 1 adds a small delay to prevent possible race conditions with suspend
|
||||
sleep 1
|
||||
|
||||
xset dpms force off
|
||||
i3lock --blur 12 --clock --indicator \
|
||||
--inside-color=00000080 \
|
||||
--ring-color=16a08580 \
|
||||
--keyhl-color=F9FAF9FF \
|
||||
--bshl-color=D62929FF \
|
||||
--time-color=F9FAF9FF \
|
||||
--date-color=F9FAF9FF
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user