aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks
diff options
context:
space:
mode:
Diffstat (limited to 'config/i3blocks')
-rw-r--r--config/i3blocks/config4
-rwxr-xr-xconfig/i3blocks/scripts/bbswitch9
2 files changed, 0 insertions, 13 deletions
diff --git a/config/i3blocks/config b/config/i3blocks/config
index 1a62f50..fba53ae 100644
--- a/config/i3blocks/config
+++ b/config/i3blocks/config
@@ -76,10 +76,6 @@ separator=false
label=mem
interval=30
-[bbswitch]
-command=~/.config/i3blocks/scripts/bbswitch
-interval=5
-
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
diff --git a/config/i3blocks/scripts/bbswitch b/config/i3blocks/scripts/bbswitch
deleted file mode 100755
index a6ad24c..0000000
--- a/config/i3blocks/scripts/bbswitch
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-if [ -e /proc/acpi/bbswitch ]; then
- if [ -n "`cat /proc/acpi/bbswitch | grep ON`" ]; then
- echo OPTIMUS
- echo OP
- echo '#ffff00'
- fi
-fi