aboutsummaryrefslogtreecommitdiff
path: root/code/sys/gfx-off.sh
diff options
context:
space:
mode:
Diffstat (limited to 'code/sys/gfx-off.sh')
-rwxr-xr-xcode/sys/gfx-off.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/code/sys/gfx-off.sh b/code/sys/gfx-off.sh
new file mode 100755
index 0000000..31f3eb9
--- /dev/null
+++ b/code/sys/gfx-off.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+integrated=$(echo OFF | sudo tee /sys/kernel/debug/vgaswitcheroo/switch)
+
+notify-send -t 5000 \
+-i "/home/xero/.config/awesome/greyhash/gfx.png" \
+' gfx status
+░░▒▒▓▓▓████▓▓▓▒▒░░' \
+"unused powered off" \ No newline at end of file