diff options
Diffstat (limited to 'Scripts')
| -rwxr-xr-x | Scripts/.config/Scripts/autostart.sh | 8 | ||||
| -rwxr-xr-x | Scripts/.config/Scripts/setbg | 11 | ||||
| -rwxr-xr-x | Scripts/.config/Scripts/wp | 2 |
3 files changed, 10 insertions, 11 deletions
diff --git a/Scripts/.config/Scripts/autostart.sh b/Scripts/.config/Scripts/autostart.sh index 99d7299..ea4d60b 100755 --- a/Scripts/.config/Scripts/autostart.sh +++ b/Scripts/.config/Scripts/autostart.sh @@ -14,17 +14,19 @@ function run { setxkbmap -layout us -variant altgr-intl -option caps:escape xmodmap -e "keycode 135 = Super_R" xset s off -dpms +run dunst run mpd run nm-applet run compton -run wal -i ~/.config/wall1.jpg +#run wal -i ~/.config/wall1.jpg +run setbg ~/.config/wall.png run synclient TouchpadOff=1 run /usr/bin/xflux -l 43.6404 -g -79.3995 run st -c email -e neomutt -run vivaldi-stable +run brave run keepassxc amixer -c 0 set Headphone 100% unmute -#run dropbox +run dropbox # WM specific if [ $GDMSESSION == "dwm" ]; diff --git a/Scripts/.config/Scripts/setbg b/Scripts/.config/Scripts/setbg index 2487072..5637ca0 100755 --- a/Scripts/.config/Scripts/setbg +++ b/Scripts/.config/Scripts/setbg @@ -8,14 +8,11 @@ # directory as a wallpaper. Be careful that the directory only has images. -WALLPAPER_HOME="$HOME/Pictures/plasma_wal_hack" +WALLPAPER_HOME="$HOME/.config/wall.png" -[ -f "$1" ] && rm -f $WALLPAPER_HOME/* && cp "$1" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME/$1" "Wallpaper changed." +[ -f "$1" ] && cp "$1" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME" "Wallpaper changed." -[ -d "$1" ] && rm -f $WALLPAPER_HOME/* && cp "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME/$1" "Random Wallpaper chosen." +[ -d "$1" ] && cp "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME" "Random Wallpaper chosen." # If pywal is installed, use it. -type wal >/dev/null 2>&1 && { wal -c - wal -i "$WALLPAPER_HOME/$i" -n - xsetroot -name "fsignal:xrdb" & } >/dev/null 2>&1 - +wal -c && wal -i "$WALLPAPER_HOME" diff --git a/Scripts/.config/Scripts/wp b/Scripts/.config/Scripts/wp index e36b9e0..bc2ca6d 100755 --- a/Scripts/.config/Scripts/wp +++ b/Scripts/.config/Scripts/wp @@ -1,4 +1,4 @@ #!/bin/sh -find $HOME/Pictures/wallpapers -type f | shuf | sxiv - +find $HOME/Downloads/wallpapers -type f | shuf | sxiv - |
