Compare commits
No commits in common. "bd1731aae898982544ef0d981369f7475951c369" and "90e4234f2a17bae179523f0daf97de58b42b654a" have entirely different histories.
bd1731aae8
...
90e4234f2a
|
@ -34,9 +34,6 @@
|
|||
libreoffice
|
||||
texliveMedium
|
||||
ledger
|
||||
|
||||
unzip
|
||||
imagemagick
|
||||
];
|
||||
|
||||
services.hardware.bolt.enable = true; # thunderbolt support
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
, rbw
|
||||
, xclip
|
||||
, xmessage
|
||||
, imagemagick
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -31,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
src = ./utils;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ bash feh xrandr jq curl fzy ytfzf sshuttle svkbd scrcpy rbw xclip ffcast xkbset xmessage imagemagick ];
|
||||
buildInputs = [ bash feh xrandr jq curl fzy ytfzf sshuttle svkbd scrcpy rbw xclip ffcast xkbset xmessage ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
@ -39,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
for i in $(ls $src/); do
|
||||
cp $src/$i $out/bin
|
||||
ln -sf $out/bin/tmenu_run $out/bin/regenerate
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy xkbset ytfzf sshuttle svkbd scrcpy xrectsel ffcast xmessage imagemagick ]}
|
||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy xkbset ytfzf sshuttle svkbd scrcpy xrectsel ffcast xmessage ]}
|
||||
done
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
print_help() {
|
||||
echo "
|
||||
rotate -- a thin wrapper around imagemagick
|
||||
|
||||
$1 - degrees (clockwise)
|
||||
$2 - infile
|
||||
$3 - outfile"
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
if [ "$1" = "-h" ]; then
|
||||
print_help
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
print_help
|
||||
fi
|
||||
|
||||
[ -z "$3" ] && 3="$2.out"
|
||||
convert "$1" -rotate "$2" "$3"
|
Loading…
Reference in New Issue