bar & picom fixes, restructuring
This commit is contained in:
@@ -21,6 +21,7 @@ bspc rule -a openrgb state=floating
|
||||
bspc rule -a Sxiv state=floating
|
||||
bspc rule -a Dconf-editor state=floating
|
||||
bspc rule -a Thunar state=floating
|
||||
bspc rule -a Xarchiver state=floating
|
||||
|
||||
# start screen locker
|
||||
xset s 600 5
|
||||
@@ -34,4 +35,5 @@ pgrep -x notify.sh > /dev/null || ~/.config/bspwm/scripts/notify.sh &
|
||||
|
||||
pgrep -x greenclip > /dev/null || greenclip daemon &
|
||||
|
||||
pkill picom && picom --no-fading-openclose &
|
||||
killall picom
|
||||
picom --no-fading-openclose &
|
||||
|
@@ -5,11 +5,15 @@ while true; do
|
||||
# Check if feishin player exists
|
||||
player_exists=$(playerctl --player=Feishin status > /dev/null 2>&1; echo $?)
|
||||
if (( player_exists != 0 )); then
|
||||
echo "Feishin player not found."
|
||||
sleep 5
|
||||
sleep 1
|
||||
continue
|
||||
fi
|
||||
|
||||
status=$(playerctl -p Feishin status)
|
||||
if [[ x"$status" == x"Stopped" ]]; then
|
||||
sleep 1
|
||||
continue
|
||||
fi
|
||||
current_track=$(playerctl -p Feishin metadata --format '<i>{{ title }}</i>\n{{ artist }}\n{{ album }}')
|
||||
album_art_url=$(playerctl -p Feishin metadata mpris:artUrl)
|
||||
album_art_file="/tmp/album_art.jpg"
|
||||
|
Reference in New Issue
Block a user