Compare commits
No commits in common. "c3c74e88240ec7e14787e099fe66a6aa31a05659" and "a08c1373437906d1208eb82e2ffb171d1b4ce566" have entirely different histories.
c3c74e8824
...
a08c137343
3 changed files with 6 additions and 15 deletions
|
|
@ -6,9 +6,6 @@ while read L; do
|
|||
export "$k=$v"
|
||||
done < <(grep -e '^\(title\|artist\|album\|stationName\|songStationName\|pRet\|pRetStr\|wRet\|wRetStr\|songDuration\|songPlayed\|rating\|coverArt\|stationCount\|station[0-9]*\)=' "$HOME/.config/pianobar/info")
|
||||
|
||||
if [ -z "$coverArt" ]; then
|
||||
notify-send "Now playing:" "$title by $artist on $album"
|
||||
else
|
||||
curl "$coverArt" --silent --output "$HOME/.config/pianobar/album.jpg"
|
||||
|
||||
notify-send "Now playing:" "$title by $artist on $album" --icon="$HOME/.config/pianobar/album.jpg"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -10,12 +10,8 @@ done < <(grep -e '^\(title\|artist\|album\|stationName\|songStationName\|pRet\|p
|
|||
|
||||
case "$1" in
|
||||
songstart)
|
||||
if [ -z "$coverArt" ]; then
|
||||
notify-send "Now playing:" "$title by $artist on $album"
|
||||
else
|
||||
curl "$coverArt" --silent --output "$HOME/.config/pianobar/album.jpg"
|
||||
notify-send "Now playing:" "$title by $artist on $album" --icon="$HOME/.config/pianobar/album.jpg"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -133,9 +133,7 @@ riverctl border-width 2
|
|||
|
||||
# options
|
||||
riverctl set-repeat 50 300
|
||||
# riverctl keyboard-layout -options "altwin:swap_lalt_lwin" us
|
||||
riverctl keyboard-layout -options "altwin:swap_lalt_lwin,grp:alt_space_toggle" -variant ,colemak_dh us,us
|
||||
# riverctl keyboard-layout -options "altwin:swap_lalt_lwin,grp:alt_space_toggle" -variant ,colemak_dh,dvorak us,us,us
|
||||
riverctl keyboard-layout -options "altwin:swap_lalt_lwin" us
|
||||
# riverctl keyboard-layout -options "grp:alt_space_toggle" -variant ,dvorak us,us
|
||||
|
||||
riverctl focus-follows-cursor normal
|
||||
|
|
|
|||
Loading…
Reference in a new issue