first commit
This commit is contained in:
8
hypr/scripts/disable_laptop_screen.sh
Normal file
8
hypr/scripts/disable_laptop_screen.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if HDMI-A-1 is present in hyprctl monitors output
|
||||
if hyprctl monitors | grep -q "HDMI-A-1"; then
|
||||
hyprctl keyword monitor eDP-1,disable
|
||||
else
|
||||
echo "HDMI-A-1 not detected. No action taken."
|
||||
fi
|
||||
Reference in New Issue
Block a user