blob: 34218c2b2e417ebc973c16db7b70c3ccee71bb18 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/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
|