Media player and song detection!

This commit is contained in:
Linus Dierheimer
2022-02-13 23:51:13 +01:00
parent d6ae32374e
commit cfb5d204a1
13 changed files with 524 additions and 42 deletions
+11
View File
@@ -133,6 +133,12 @@
# Default is /etc/os-release.
#--os-file /etc/os-release
# Player name option
# Sets the name of the player. This is also used in song detection
# Must be the exact name of the player or a dbus address (e.g. org.mpris.MediaPlayer2.spotify)
# Default is the first match starting with org.mpris.MediaPlayer2.
#--player-name spotify
# Key options:
# Sets the displayed key of a module
# Can be any string. Some of theme take an argument like a format string. See "fastfetch --help format" for help.
@@ -162,6 +168,8 @@
#--locale-key Locale
#--local-ip-key Local IP ({1})
#--public-ip-key Public IP
#--player-key Media Player
#--song-key Song
# Format options:
# Sets the format string for module values.
@@ -194,6 +202,8 @@
#--locale-format
#--local-ip-format
#--public-ip-format
#--player-format
#--song-format
# Library options:
# Sets an user specific path to a library to load.
@@ -207,5 +217,6 @@
#--lib-X11 /usr/lib/libX11.so
#--lib-gio /usr/lib/libgio-2.0.so
#--lib-DConf /usr/lib/libdconf.so
#--lib-DBus /usr/lib/libdbus-1.so
#--lib-XFConf /usr/lib/libxfconf-0.so
#--lib-rpm /usr/lib/librpm.so
+6
View File
@@ -62,6 +62,8 @@ Format options: Provide the format string for custom output. Use fastfetch --hel
--locale-format <format>
--local-ip-format <format>
--public-ip-format <format>
--player-format <format>
--song-format <format>
Key options: Provide a custom key for an output
--os-key <key>
@@ -90,6 +92,8 @@ Key options: Provide a custom key for an output
--locale-key <key>
--local-ip-key <key>: takes the name of this network interface as format argument
--public-ip-key <key>
--player-key <key>
--song-key <key>
Library options: Set the path of a library to load
--lib-PCI <path>
@@ -101,6 +105,7 @@ Library options: Set the path of a library to load
--lib-X11 <path>
--lib-gio <path>
--lib-DConf <path>
--lib-DBus <path>
--lib-XFConf <path>
--lib-RPM <path>
@@ -113,6 +118,7 @@ Module specific options:
--localip-show-ipv6 <?value>: Show ipv6 addresses in local ip module. Default is false
--localip-show-loop <?value>: Show loop back addresses (127.0.0.1) in local ip module. Default is false
--public-ip-timeout: Time in milliseconds to wait for the public ip server to respond. Default is disabled (0)
--player-name: The name of the player to use
Parsing is not case sensitive. E.g. "--lib-PCI" is equal to "--Lib-Pci"
If a value starts with a ?, it is optional. "true" will be used if not set.
+2
View File
@@ -16,11 +16,13 @@ LocalIP
Memory
OS
Packages
Player
Processes
PublicIP
Resolution
Separator
Shell
Song
Terminal
TerminalFont
Theme