1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-15 15:31:50 +08:00
dotfiles/.config/hypr/scripts/clamshell.sh
2023-11-15 11:25:03 +08:00

7 lines
204 B
Bash
Executable File

if hyprctl monitors | grep "Lectron Company Ltd LECOO M2412HL GG30A137" &>/dev/null
then
hyprctl keyword monitor "eDP-1, disable"
else
hyprctl keyword monitor "eDP-1, 2560x1440@90, auto, auto"
fi