Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
cb81e21ee2 |
1 changed files with 34 additions and 32 deletions
6
neofetch
6
neofetch
|
@ -2317,7 +2317,9 @@ get_memory() {
|
|||
}
|
||||
|
||||
get_song() {
|
||||
player="$(ps -e | grep -m 1 -F \
|
||||
player="$(ps -e)"
|
||||
player="${player/iTunesHelper}"
|
||||
player="$(grep -m 1 -F \
|
||||
-e "Google Play" \
|
||||
-e "Spotify" \
|
||||
-e "amarok" \
|
||||
|
@ -2348,7 +2350,7 @@ get_song() {
|
|||
-e "xmms2d" \
|
||||
-e "yarock" \
|
||||
-e "sayonara" \
|
||||
-e "vlc")"
|
||||
-e "vlc" -- <<< "$player")"
|
||||
player="${player/* }"
|
||||
player="${player##*/}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue