updated qtile config
This commit is contained in:
8
qtile/refresh.sh
Executable file
8
qtile/refresh.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [ $(cat /proc/acpi/button/lid/LID0/state | grep -c closed) -eq 1 ]; then
|
||||
xrandr --output DP-0 --off
|
||||
else
|
||||
xrandr --output DP-0 --on
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user