i3lock-fancy: Bugfix, make scrot overwrite file
After commit [1] scrot will no longer overwrite files unless the `-o`
option is given. This commit makes the i3lock-fancy use `scrot -z -o`
instead of just `scrot -o`.
[1]: 489e322904
This commit is contained in:
parent
0213ccf624
commit
b081115788
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
sed -i -e 's|icon="/usr/share/i3lock-fancy/icons/lock.png"|icon="'$out'/share/i3lock-fancy/icons/lock.png"|' i3lock-fancy
|
||||
sed -i -e "s|getopt |${getopt}/bin/getopt |" i3lock-fancy
|
||||
sed -i -e "s|fc-match |${fontconfig.bin}/bin/fc-match |" i3lock-fancy
|
||||
sed -i -e "s|shot=(import -window root)|shot=(${scrot}/bin/scrot -z)|" i3lock-fancy
|
||||
sed -i -e "s|shot=(import -window root)|shot=(${scrot}/bin/scrot -z -o)|" i3lock-fancy
|
||||
rm Makefile
|
||||
'';
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue