1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-23 03:11:49 +08:00
dotfiles/.config/hypr/scripts/clamshell.sh

7 lines
204 B
Bash
Raw Permalink Normal View History

2023-11-15 11:25:03 +08:00
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