feat: added hyprland config
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
MONITOR_NAME="DVI-I-1"
|
||||
|
||||
hyprctl keyword monitor "$MONITOR_NAME, 1600x900@60, 0x-2000, 1" && eww reload
|
||||
notify-send -t 1500 "$MONITOR_NAME: Game Mode" "Monitor moved to 0x-2000"
|
||||
|
||||
if [[ "$1" == *"="* ]]; then
|
||||
VAR=$1
|
||||
shift
|
||||
env "$VAR" "$@"
|
||||
else
|
||||
"$@"
|
||||
fi
|
||||
|
||||
hyprctl -- keyword monitor "$MONITOR_NAME, 1600x900@60, -1600x0, 1" && eww reload
|
||||
notify-send -t 1500 "$MONITOR_NAME: Desktop Mode" "Monitor returned to -1600x0"
|
||||
Reference in New Issue
Block a user