From d2e3a192696efe436996ea943480c9b36de4cbeb Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Wed, 23 Nov 2016 14:08:34 +0100 Subject: [PATCH] [modules/caffeine] Fix times for screen on time --- bumblebee/modules/caffeine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/caffeine.py b/bumblebee/modules/caffeine.py index bf67b2b..5d0dbaf 100644 --- a/bumblebee/modules/caffeine.py +++ b/bumblebee/modules/caffeine.py @@ -13,7 +13,7 @@ class Module(bumblebee.module.Module): # output.add_callback(module="caffeine.activate", button=1, cmd='notify-send "Consuming caffeine"; xset s off') # output.add_callback(module="caffeine.deactivate", button=1, cmd='notify-send "Out of coffee"; xset s 600 600') output.add_callback(module="caffeine.activate", button=1, cmd='xset s off') - output.add_callback(module="caffeine.deactivate", button=1, cmd='xset s 600 600') + output.add_callback(module="caffeine.deactivate", button=1, cmd='xset s default') def widgets(self): output = subprocess.check_output(shlex.split("xset q"))