From f73c79bb22bba63b1a555388c1fb13a5c98bfbc0 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 19 Nov 2019 21:05:35 +0100 Subject: Added commondocs system and bspwm --- i3/Scripts/lc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'i3') 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 -- cgit v1.2.3