summaryrefslogtreecommitdiff
path: root/.i3/scripts/xlock.sh
blob: cd5acc157d4ebbdfd247822da5eaaad0470d2ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

PNG=/tmp/screen_locked.png

scrot $PNG
convert $PNG -scale 5% -scale 2000% $PNG

killall -SIGUSR1 dunst # pause
i3lock --image=$PNG --nofork
killall -SIGUSR2 dunst # resume
rm -f $PNG
n class='insertions'>+23 2012-10-16Add vundle as a subprojectRené Neumann3-1/+5 2012-10-15Fix font size of urxvtRené Neumann1-1/+1 2012-10-15Gitconfig changes -- make the git@git.necoro.eu one more aliasRené Neumann1-0/+1 2012-10-14Minor fixesRené 'Necoro' Neumann1-3/+1 2012-10-14Even more urxvt stuffRené 'Necoro' Neumann2-3/+17 2012-10-13add 'altscreen on' to screenrcRené 'Necoro' Neumann1-0/+7 2012-10-12Moar urxvt settingsRené Neumann1-2/+23 2012-10-12Small fixesRené Neumann2-2/+3 2012-10-12Fix colorscheme nameRené Neumann1-1/+1 2012-10-12Added some logic to automatically fix terminfoRené Neumann2-0/+104