moved all desktop utils into this repo

This commit is contained in:
willifan 2024-06-03 11:56:16 +02:00
parent cd7e93374e
commit 2241d30a86
28 changed files with 151 additions and 45 deletions

10
scripts/scale.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
while read -r f s; do
if [[ $f == true && $(awk -v s="$s" 'BEGIN{ if (s > 1.5) print 1; else print 0; }') == 1 ]]; then
export GDK_SCALE=2
export QT_SCALE_FACTOR=2
fi
done < <(hyprctl monitors -j | jq -r '.[]|"\(.focused) \(.scale)"')
wofi --show drun