removed wallpaper
- removed setwall and wallpapers. moved to theme-setter - added blender to find
This commit is contained in:
parent
215031f5a2
commit
0131b1e430
|
@ -1,77 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# may be moved to theme setter
|
|
||||||
cd "$(dirname "$0")"
|
|
||||||
|
|
||||||
listwalls=0
|
|
||||||
unload=0
|
|
||||||
secondary=""
|
|
||||||
primary=""
|
|
||||||
all=""
|
|
||||||
|
|
||||||
while getopts "lup:s:a:" opt; do
|
|
||||||
case "$opt" in
|
|
||||||
l) listwalls=1
|
|
||||||
;;
|
|
||||||
u) unload=1
|
|
||||||
;;
|
|
||||||
p) primary="$OPTARG"
|
|
||||||
;;
|
|
||||||
s) secondary="$OPTARG"
|
|
||||||
;;
|
|
||||||
a) all="$OPTARG"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
shift $((OPTIND-1))
|
|
||||||
[ "${1:-}" = "--" ] && shift
|
|
||||||
|
|
||||||
if [ $listwalls == 1 ]; then
|
|
||||||
ls ./wallpaper_scripts
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$all" ]; then
|
|
||||||
primary="$all"
|
|
||||||
secondary="$all"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$primary" ]; then
|
|
||||||
primary="$(./wallpaper_scripts/default-primary)"
|
|
||||||
else
|
|
||||||
if [ -f "./wallpaper_scripts/$primary" ]; then
|
|
||||||
primary="$(./wallpaper_scripts/$primary)"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$secondary" ]; then
|
|
||||||
secondary="$(./wallpaper_scripts/default-secondary)"
|
|
||||||
else
|
|
||||||
if [ -f "./wallpaper_scripts/$secondary" ]; then
|
|
||||||
secondary="$(./wallpaper_scripts/$secondary)"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ "$WAYLAND_DISPLAY" ]; then
|
|
||||||
current_wal="$(hyprctl hyprpaper listactive | grep HDMI-A-1 | sed 's/HDMI-A-1 = //')"
|
|
||||||
hyprctl hyprpaper preload $primary
|
|
||||||
hyprctl hyprpaper wallpaper "HDMI-A-1,$primary"
|
|
||||||
if [ $unload == 1 ]; then
|
|
||||||
hyprctl hyprpaper unload "$current_wal"
|
|
||||||
fi
|
|
||||||
|
|
||||||
current_wal="$(hyprctl hyprpaper listactive | grep DP-1 | sed 's/DP-1 = //')"
|
|
||||||
hyprctl hyprpaper preload $secondary
|
|
||||||
hyprctl hyprpaper wallpaper "DP-1,$secondary"
|
|
||||||
if [ $unload == 1 ]; then
|
|
||||||
hyprctl hyprpaper unload "$current_wal"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
nitrogen --head=0 --set-zoom-fill $primary
|
|
||||||
|
|
||||||
nitrogen --head=1 --set-zoom-fill $secondary
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
echo "/home/iceyrazor/stuff/media/wallpapers/4500025-retrowave-vaporwave-car-typography-purple-blue-chromatic-aberration-initial-d-hachi-roku.jpg"
|
|
|
@ -1 +0,0 @@
|
||||||
echo "/home/iceyrazor/stuff/media/wallpapers/tumblr_06bbd355f3e355049446dac24f6e7c44_2c486f77_1280 ninesols.jpg"
|
|
|
@ -1 +0,0 @@
|
||||||
echo "/home/iceyrazor/stuff/media/wallpapers/6b06108fa3bc46f5.jpg"
|
|
|
@ -1 +0,0 @@
|
||||||
echo "/home/iceyrazor/stuff/media/wallpapers/dark_leaves.png"
|
|
|
@ -1 +0,0 @@
|
||||||
echo "/home/iceyrazor/stuff/media/wallpapers/purple/IMG_0276.jpg"
|
|
|
@ -19,6 +19,7 @@ else
|
||||||
path_dirs="$path_dirs
|
path_dirs="$path_dirs
|
||||||
$yt_cli_dir
|
$yt_cli_dir
|
||||||
$(find ~/stuff/ -name theme-setter -type d)
|
$(find ~/stuff/ -name theme-setter -type d)
|
||||||
|
$(find ~/.local/bin/blender* -maxdepth 0 -type d)
|
||||||
$(find $script_dir/keep/scripts -type d)
|
$(find $script_dir/keep/scripts -type d)
|
||||||
$(find $script_dir/env_private/keep/scripts -type d)"
|
$(find $script_dir/env_private/keep/scripts -type d)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue