This commit is contained in:
Leon Kowarschick 2020-05-05 18:21:27 +02:00
parent c8cfdcbe05
commit fe3d52094d
4 changed files with 11 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{
"optOut": false,
"lastUpdateCheck": 1588520574764
"lastUpdateCheck": 1588611001406
}

6
files/scripts/packageSizes.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
expac -SsH M "%m: %n$\t%d" $@ | sort -h | tr '$' '\n'
# less verbose: expac -S -H M "%m %n"|sort -n

Binary file not shown.

View file

@ -10,7 +10,9 @@ for arg in "$@"; do
esac
done
select_flag="-s"
# Do not quote this, this is multiple flags
select_flag="-s --highlight --color 1,1,1,0.2"
[ $fullscreen -eq 1 ] && select_flag=""
if [ $to_file -eq 1 ]; then
@ -21,7 +23,7 @@ if [ $to_file -eq 1 ]; then
echo "$file" | xclip -selection clipboard
else
[ -z "$select_flag" ] && sleep 1
maim "$select_flag" --format png /dev/stdout | xclip -selection clipboard -t image/png -i
maim $select_flag --format png /dev/stdout | xclip -selection clipboard -t image/png -i
fi