Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
4e69a35f
Commit
4e69a35f
authored
Sep 17, 2017
by
Dylan Araps
Committed by
GitHub
Sep 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #827 from mstraube/elisa
Song: Add support for Elisa
parents
8fa1abd0
eea725b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
neofetch
neofetch
+2
-1
No files found.
neofetch
View file @
4e69a35f
...
@@ -1411,7 +1411,7 @@ get_song() {
...
@@ -1411,7 +1411,7 @@ get_song() {
player="
$(
ps x |
awk
'!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify|\
player="
$(
ps x |
awk
'!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify|\
Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\
Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\
xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\
xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\
guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ {printf $5 " " $6; exit}'
)
"
guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo
|elisa
/ {printf $5 " " $6; exit}'
)
"
get_song_dbus() {
get_song_dbus() {
# Multiple players use an almost identical dbus command to get the information.
# Multiple players use an almost identical dbus command to get the information.
...
@@ -1442,6 +1442,7 @@ guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ {printf $5 " " $6;
...
@@ -1442,6 +1442,7 @@ guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ {printf $5 " " $6;
"
yarock
"*) get_song_dbus "
yarock
" ;;
"
yarock
"*) get_song_dbus "
yarock
" ;;
"
deepin
-music
"*) get_song_dbus "
deepinmusic
" ;;
"
deepin
-music
"*) get_song_dbus "
deepinmusic
" ;;
"
tomahawk
"*) get_song_dbus "
tomahawk
" ;;
"
tomahawk
"*) get_song_dbus "
tomahawk
" ;;
"
elisa
"*) get_song_dbus "
elisa
" ;;
"
audacious
"*)
"
audacious
"*)
song="
$(
audtool current-song
)
"
song="
$(
audtool current-song
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment