replaced hyprland config with lua

This commit is contained in:
2026-08-23 11:32:54 -07:00
parent 4a659f016f
commit e4df7507ac
20 changed files with 897 additions and 350 deletions

View File

@@ -53,7 +53,7 @@ LAPTOP_RES=$(get_capped_res "$LAPTOP")
# Case 1: Laptop Only
if [ -z "$EXTERNAL" ]; then
notify-send -t 3000 "Monitor Setup" "Laptop Mode: $LAPTOP_RES"
notify-send -t 7000 "Monitor Setup" "Laptop Mode: $LAPTOP_RES"
hyprctl keyword monitor "$LAPTOP,$LAPTOP_RES,auto,1"
for ws in {1..5}; do
@@ -65,7 +65,7 @@ fi
# Case 2: External + Open Lid
if [ "$LID_STATE" = "open" ]; then
notify-send -t 3000 "Monitor Setup" "Dual Mode\nExternal: $EXT_RES (VRR On)"
notify-send -t 7000 "Monitor Setup" "Dual Mode\nExternal: $EXT_RES (VRR On)"
hyprctl keyword monitor "$LAPTOP,$LAPTOP_RES,0x0,1"
hyprctl keyword monitor "$EXTERNAL,$EXT_RES,auto,1,vrr,1"