diff options
author | Julian T <julian@jtle.dk> | 2019-11-19 21:05:35 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2019-11-19 21:05:35 +0100 |
commit | f73c79bb22bba63b1a555388c1fb13a5c98bfbc0 (patch) | |
tree | 0abd690979c3f303e8269a447d10867bbba45b04 /i3 | |
parent | 79273d4fa73aa639240ad104ef61d62f5051e051 (diff) |
Added commondocs system and bspwm
Diffstat (limited to 'i3')
-rwxr-xr-x | i3/Scripts/lc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/i3/Scripts/lc b/i3/Scripts/lc index dd2acc7..f54980c 100755 --- a/i3/Scripts/lc +++ b/i3/Scripts/lc @@ -2,7 +2,7 @@ LOGFILE=.lc.log -Commands="update poweroff suspend set-keyboard caps-lock battery cups-website vim emacs htop scrot overleaf-render overleaf win pass wall stat mic mail" +Commands="common update poweroff suspend set-keyboard caps-lock battery cups-website vim emacs htop scrot overleaf-render overleaf win pass wall stat mic mail" statScripts="ram.sh status.sh net.sh mic.sh" handle_stuff() { @@ -85,6 +85,9 @@ handle_stuff() { if [ "$1" = "stat" ]; then sh /home/julian/Scripts/$(echo $statScripts | tr " " "\n" | dmenu -i -p "stat") fi + if [ "$1" = "common" ]; then + python Scripts/commondocs.py ~/commondocs.json $(python Scripts/commondocs.py ~/commondocs.json | dmenu) + fi # Calc if [ "$(echo $1 | head -c 1)" = "=" ]; then |