#!/usr/bin/env bash if [ -z "$1" ]; then exit 1 fi if [ "$1" -eq "0" ]; then hyprctl keyword monitor DP-2,disable else hyprctl keyword monitor DP-2,preferred,auto-left,1 fi