diff options
author | rafa_99 <raroma09@gmail.com> | 2021-08-18 16:12:49 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2021-08-18 16:12:49 +0100 |
commit | d43bc06c2a0963f97bb17080af06f6aa171bff05 (patch) | |
tree | cf564cd20c44878e030ef651647e3cb518926137 /scripts/.local/bin | |
parent | 1fd558225c368b96226c0e3227a127d693e0ffd5 (diff) |
Updated Scripts
Diffstat (limited to 'scripts/.local/bin')
-rwxr-xr-x | scripts/.local/bin/colorset | 4 | ||||
-rwxr-xr-x | scripts/.local/bin/search | 16 |
2 files changed, 9 insertions, 11 deletions
diff --git a/scripts/.local/bin/colorset b/scripts/.local/bin/colorset index 1fbaffe..b8359d3 100755 --- a/scripts/.local/bin/colorset +++ b/scripts/.local/bin/colorset @@ -28,10 +28,6 @@ cp -rf "$SUCK"/colors/wallpaper.png ~/.config/wallpaper xwallpaper --stretch "$WALLPAPER" cd "$SUCK"/dwm && git pull ; doas make clean install ; make clean -cd "$SUCK"/slstatus && git pull ; doas make clean install ; make clean cd "$SUCK"/dmenu && git pull ; doas make clean install ; make clean cd "$SUCK"/st && git pull ; doas make clean install ; make clean cd "$SUCK"/tabbed && git pull ; doas make clean install ; make clean -cd "$SUCK"/farbfeld && git pull ; doas make clean install ; make clean -cd "$SUCK"/sent && git pull ; doas make clean install ; make clean -cd "$SUCK"/slock && git pull ; doas make clean install ; make clean diff --git a/scripts/.local/bin/search b/scripts/.local/bin/search index a3f542d..6749e98 100755 --- a/scripts/.local/bin/search +++ b/scripts/.local/bin/search @@ -2,10 +2,12 @@ SEARCH=$(echo "<-"| dmenu -i -p "Search: ") -case $BROWSER in - firefox) - "$BROWSER" --search "$SEARCH" - ;; - *) - "$BROWSER" "$SEARCH" -esac +if [ "$SEARCH" != "" ]; then + case $BROWSER in + firefox) + "$BROWSER" --search "$SEARCH" + ;; + *) + "$BROWSER" "$SEARCH" + esac +fi |