some changes

master
Alex 2023-03-09 22:54:43 -06:00
parent ce1055b7ec
commit a115ebb0e4
5 changed files with 12 additions and 4 deletions

View File

@ -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";;

View File

@ -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

4
lf-dir.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
FN="$HOME"/.cache/lf-dir.log
$TERMINAL -e lf -last-dir-path "$FN"
cat "$FN"

View File

@ -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"
}

View File

@ -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