[modules/caffeine] Fix times for screen on time
This commit is contained in:
parent
5faba39643
commit
d2e3a19269
1 changed files with 1 additions and 1 deletions
|
@ -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.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.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.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):
|
def widgets(self):
|
||||||
output = subprocess.check_output(shlex.split("xset q"))
|
output = subprocess.check_output(shlex.split("xset q"))
|
||||||
|
|
Loading…
Reference in a new issue