replaced hyprland config with lua
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user