Skip to content

Commit

Permalink
[modules/caffeine] Fix times for screen on time
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavle Portic committed Nov 23, 2016
1 parent 5faba39 commit d2e3a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumblebee/modules/caffeine.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self, output, config, alias):
# 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"))
Expand Down

0 comments on commit d2e3a19

Please sign in to comment.