moved all desktop utils into this repo
This commit is contained in:
parent
cd7e93374e
commit
2241d30a86
28 changed files with 151 additions and 45 deletions
10
scripts/scale.sh
Executable file
10
scripts/scale.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue