From c828a404270aa0b2be0c5811c7a70c0d8ba65b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 6 Apr 2018 16:55:48 +0200 Subject: Drop bbswitch i3blocks warning --- config/i3blocks/config | 4 ---- config/i3blocks/scripts/bbswitch | 9 --------- 2 files changed, 13 deletions(-) delete mode 100755 config/i3blocks/scripts/bbswitch 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 -- cgit v1.2.3