summaryrefslogtreecommitdiff
path: root/i3/Scripts
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-11-19 21:05:35 +0100
committerJulian T <julian@jtle.dk>2019-11-19 21:05:35 +0100
commitf73c79bb22bba63b1a555388c1fb13a5c98bfbc0 (patch)
tree0abd690979c3f303e8269a447d10867bbba45b04 /i3/Scripts
parent79273d4fa73aa639240ad104ef61d62f5051e051 (diff)
Added commondocs system and bspwm
Diffstat (limited to 'i3/Scripts')
-rwxr-xr-xi3/Scripts/lc5
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