2024-02-13 14:59:23 -03:00
|
|
|
#!/bin/bash
|
|
|
|
export SWWW_TRANSITION_STEP=90
|
|
|
|
export SWWW_TRANSITION_FPS=60
|
|
|
|
export SWWW_TRANSITION=wipe
|
|
|
|
export SWWW_TRANSITION_ANGLE=30
|
|
|
|
export SWWW_TRANSITION_POS=center
|
2024-01-16 10:08:31 -03:00
|
|
|
|
2024-01-16 12:56:51 -03:00
|
|
|
current_theme=$(readlink ~/.config/tmux/theme.conf)
|
2024-02-13 14:59:23 -03:00
|
|
|
if [[ -z "$1" ]]; then
|
|
|
|
if [[ $current_theme == *tmux-white.conf ]]; then
|
|
|
|
FIRST=~/pics/wallpapers/sl3.jpg
|
|
|
|
SECOND=~/pics/wallpapers/sl2.png
|
|
|
|
else
|
|
|
|
FIRST=~/pics/wallpapers/bm5.jpg
|
|
|
|
SECOND=~/pics/wallpapers/bm3.png
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
FIRST=$1
|
|
|
|
SECOND=$2
|
2024-01-16 12:56:51 -03:00
|
|
|
fi
|
2024-02-13 14:59:23 -03:00
|
|
|
|
|
|
|
|
|
|
|
swww init &
|
|
|
|
sleep 0.3
|
|
|
|
|
|
|
|
swww img -o HDMI-A-1 $FIRST
|
|
|
|
swww img -o DP-3 $SECOND
|