mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
added script to generate lock image
This commit is contained in:
parent
171307bb92
commit
da2b3e18a3
5
xorg/.bin/generateLockImage.sh
Executable file
5
xorg/.bin/generateLockImage.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
WIDTH=$(xrandr | grep '\*' | awk -F 'x' '{print $1}' | sed 's/ //g')
|
||||
convert "$1" ~/.config/lock.png
|
||||
convert ~/.config/lock.png -resize "${WIDTH}"x ~/.config/lock.png
|
Loading…
Reference in New Issue
Block a user