diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-11-05 10:03:41 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-11-05 10:03:41 +0530 |
commit | d26cef6d9ac6b4882753c9385ec08202bb3e358a (patch) | |
tree | ba5d6377e40754e760242cd1fc76e0acd3af5ddd /lemonbar/button-actions | |
parent | 25fa5f6b66b76a50aab20ebd4899e7bdef5c5343 (diff) |
moved sleep notifier module to right, made workspace buttons clickable, made the script a bit more easier to understand
Diffstat (limited to 'lemonbar/button-actions')
-rwxr-xr-x | lemonbar/button-actions | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lemonbar/button-actions b/lemonbar/button-actions new file mode 100755 index 00000000..bebf6635 --- /dev/null +++ b/lemonbar/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) |