moved script to a new location cause it being deleted after HyDE update

This commit is contained in:
2025-08-20 18:35:41 +03:00
parent c853d2b0c6
commit 188b2fbb0a
6 changed files with 21 additions and 159 deletions

11
.local/bin/toggle-scale Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
MONITOR="eDP-1"
CURRENT=$(hyprctl -j monitors | jq ".[] | select(.name==\"$MONITOR\").scale")
if (( $(echo "$CURRENT == 1.20" | bc -l) )); then
hyprctl keyword monitor "$MONITOR,1920x1080@144,0x0,1"
else
hyprctl keyword monitor "$MONITOR,1920x1080@144,0x0,1.2"
fi