initial commit
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
enable=$(wlr-randr --json | jq --arg name "eDP-1" '.[] | select(.name == $name) | .enabled')
|
||||
if [ $enable == "true" ]; then
|
||||
wlr-randr --output eDP-1 --off
|
||||
else
|
||||
wlr-randr --output eDP-1 --on
|
||||
fi
|
||||
Reference in New Issue
Block a user