summaryrefslogtreecommitdiff
path: root/i3/Scripts
diff options
context:
space:
mode:
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