update display scaling

This commit is contained in:
Glen Goodwin 2023-09-28 00:42:26 -04:00
parent bb06cb7863
commit e3d6de7434
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if grep open /proc/acpi/button/lid/LID/state; then
hyprctl keyword monitor "eDP-1, 1920x1080, 0x0, 1.5"
hyprctl keyword monitor "eDP-1, 1920x1080, 0x0, 1"
else
if [[ $(hyprctl monitors | grep -c "Monitor") != 1 ]]; then
hyprctl keyword monitor "eDP-1, disable"