From b1c51c990a80e98f3d6a36f44ac00bf1b1273a35 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 12 Jun 2019 22:57:15 +0200 Subject: Fixed launch script --- dwm/Scripts/lc | 4 ++-- scripts/Scripts/passmenu | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dwm/Scripts/lc b/dwm/Scripts/lc index 9c21fb4..74518e7 100755 --- a/dwm/Scripts/lc +++ b/dwm/Scripts/lc @@ -5,7 +5,7 @@ statScripts="ram.sh status.sh net.sh mic.sh" handle_stuff() { if [ "$1" = "--dmenu" ]; then - ./lc $(echo $Commands | tr " " "\n" | dmenu -i -p ":") + $0 $(echo $Commands | tr " " "\n" | dmenu -i -p ":") fi if [ "$1" = "edit" ] || [ "$1" = "e" ]; then @@ -73,7 +73,7 @@ handle_stuff() { firefox -p Sharelatex --no-remote fi if [ "$1" = "pass" ]; then - bash ~/Scripts/passmenu --type + bash $HOME/Scripts/passmenu fi if [ "$1" = "stat" ]; then diff --git a/scripts/Scripts/passmenu b/scripts/Scripts/passmenu index 0cc80e6..e3cf4a8 100644 --- a/scripts/Scripts/passmenu +++ b/scripts/Scripts/passmenu @@ -25,4 +25,4 @@ else fi notify-send "Done" -pass $password | grep login | cut -d' ' -f2- | xclip -selection c +# pass $password | grep login | cut -d' ' -f2- | xclip -selection c -- cgit v1.2.3