aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-04-06 16:55:48 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-04-06 16:55:48 +0200
commitc828a404270aa0b2be0c5811c7a70c0d8ba65b6d (patch)
treefaa468f0b3c47494379b1b7652bc0be213d5bfa1 /config/i3blocks
parent4d048b0bf8f4f5e8b06986307f886e2a537c8039 (diff)
downloadmyconfigs-c828a404270aa0b2be0c5811c7a70c0d8ba65b6d.tar.gz
myconfigs-c828a404270aa0b2be0c5811c7a70c0d8ba65b6d.tar.bz2
myconfigs-c828a404270aa0b2be0c5811c7a70c0d8ba65b6d.zip
Drop bbswitch i3blocks warning
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