diff --git a/browser.sh b/browser.sh index 3483be9..c2e8841 100755 --- a/browser.sh +++ b/browser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -WBROWSER="flatpak run com.brave.Browser" +WBROWSER="brave" #OPTS="       Torrent ) @@ -69,7 +69,10 @@ sel() { "Youtube-dl audio") ydl "$1" ;; - "File") cd "$XDG_DOWNLOAD_DIR" && curl -O -L "$1";; + "File") + DL_DIR="$(lf-dir.sh)" + cd "$DL_DIR" && curl -O -L "$1" + notify-send "$1 downloaded to: $DL_DIR";; "RSS") rss "$1";; diff --git a/installers/arch/install.sh b/installers/arch/install.sh index bc85d04..f7f3e62 100755 --- a/installers/arch/install.sh +++ b/installers/arch/install.sh @@ -99,7 +99,7 @@ configuration() { #theming sudo sh -c 'echo "FONT=Lat2-Terminus16" >> /etc/vconsole.conf' - ln -s /usr/share/backgrounds/archlinux/landscape.jpg ~/.config/wall + ln -s /usr/share/backgrounds/archlinux/gritty.png ~/.config/wall ln -s ~/.config/Xresources ~/.Xdefaults #download collapse OS if it is not already diff --git a/lf-dir.sh b/lf-dir.sh new file mode 100755 index 0000000..2bb93e3 --- /dev/null +++ b/lf-dir.sh @@ -0,0 +1,4 @@ +#!/bin/sh +FN="$HOME"/.cache/lf-dir.log +$TERMINAL -e lf -last-dir-path "$FN" +cat "$FN" diff --git a/set-wp.sh b/set-wp.sh index beb2a86..a06562d 100755 --- a/set-wp.sh +++ b/set-wp.sh @@ -5,7 +5,7 @@ setwp() { #wal -n -s -t -e -i "$1" rm ~/.config/wall cp "$1" "$HOME/.config/wall" - swaymsg "output * bg ~/.config/wall fill" + swaymsg "output * bg ~/.config/wall fit" #swaybg --image "$HOME/.config/wall" } diff --git a/update-weather.sh b/update-weather.sh index 3302007..8b2e59a 100755 --- a/update-weather.sh +++ b/update-weather.sh @@ -8,6 +8,7 @@ echo $UPDATE | wc -m if [ $(echo $UPDATE | wc -m) -le 30 ]; then echo "$UPDATE" > ~/.cache/wttr + date >> ~/.cache/wttr_update else echo "❗" > ~/.cache/wttr