.dotfiles/botfiles/.scripts/lockscreen.old

6 lines
382 B
Bash
Executable File

#!/bin/zsh
RESOL=$(xrandr | grep '*' | grep -o '?*[0-9]*x?*[0-9]*')
i3lock -i ~/.config/wallpapers/$RESOL/wall$(( ( RANDOM % $(ls ~/.config/wallpapers/$RESOL | wc -l) +1 ) )).png --composite --insidecolor=55443311 --ringcolor=99443300 --insidevercolor=55443311 --keyhlcolor=99999999 --indicator --veriftext= --wrongtext=! --radius 180 -b --separatorcolor=00000000 --bar-indicator