diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-12-01 12:10:20 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-12-01 12:10:20 +0530 |
commit | c0333b8bd91b164d452e515fb4176089823aa65a (patch) | |
tree | 6f0069a19943daf1bd95f90589b457eb1883e599 /lemonbar/ws_button_actions | |
parent | 6c055d89bdfd51eab7ba111a95dd55701d1c9888 (diff) |
fixed the temperature being blank if weather stat wasn't haze; currently only supports haze and smoke
Diffstat (limited to 'lemonbar/ws_button_actions')
-rwxr-xr-x | lemonbar/ws_button_actions | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lemonbar/ws_button_actions b/lemonbar/ws_button_actions new file mode 100755 index 00000000..bebf6635 --- /dev/null +++ b/lemonbar/ws_button_actions @@ -0,0 +1,14 @@ +#!/bin/python + +# this script is a somewhat hacky way to switch workspaces +# by clicking the workspaces on the lemonbar +# written by Vidhu Kant Sharma for his herbstluftwm lemonbar +# the output from the launch script should be piped into this + +import os + +print('scripts launched') +while True: + action = input() + + os.system('herbstclient use_index ' + action) |