Polish Mopidy integration
This commit is contained in:
parent
1784dc717d
commit
761825df50
@ -1,6 +1,6 @@
|
|||||||
[core]
|
[core]
|
||||||
cache_dir = /var/cache/mopidy
|
cache_dir = /var/cache/mopidy
|
||||||
config_dir = /etc/mopidy
|
config_dir = ~/.config/mopidy
|
||||||
data_dir = /var/lib/mopidy
|
data_dir = /var/lib/mopidy
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
@ -13,3 +13,11 @@ media_dir = /var/lib/mopidy/media
|
|||||||
|
|
||||||
[m3u]
|
[m3u]
|
||||||
playlists_dir = /var/lib/mopidy/playlists
|
playlists_dir = /var/lib/mopidy/playlists
|
||||||
|
|
||||||
|
[youtube]
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
[soundcloud]
|
||||||
|
enabled = true
|
||||||
|
explore_songs = 25
|
||||||
|
auth_token = 1-35204-100376744-d1083c37e92bde
|
||||||
|
@ -14,16 +14,18 @@ foreground = ${xrdb:color15:#ebdbb2}
|
|||||||
foreground-alt = ${xrdb:color8:#928374}
|
foreground-alt = ${xrdb:color8:#928374}
|
||||||
primary = ${xrdb:color10:#b8bb26}
|
primary = ${xrdb:color10:#b8bb26}
|
||||||
secondary = ${xrdb:color2:#98971a}
|
secondary = ${xrdb:color2:#98971a}
|
||||||
|
primary-alt = ${xrdb:color12:#83a598}
|
||||||
|
secondary-alt = ${xrdb:color4:#458588}
|
||||||
alert = ${xrdb:color9:#fb4934}
|
alert = ${xrdb:color9:#fb4934}
|
||||||
|
|
||||||
[bar/bar1]
|
[bar/top]
|
||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 24
|
height = 24
|
||||||
;offset-x = 10%
|
;offset-x = 10%
|
||||||
;offset-y = 1%
|
;offset-y = 1%
|
||||||
radius = 0.0
|
radius = 0.0
|
||||||
fixed-center = false
|
fixed-center = true
|
||||||
bottom = false
|
bottom = false
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
@ -43,16 +45,19 @@ module-margin-right = 3
|
|||||||
|
|
||||||
font-0 = fixed:pixelsize=10;1
|
font-0 = fixed:pixelsize=10;1
|
||||||
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
font-1 = "Overpass:size=10;1"
|
;font-0 = "Overpass:size=10;1"
|
||||||
;font-2 = siji:pixelsize=10;1
|
;font-2 = siji:pixelsize=10;1
|
||||||
font-2 = "Overpass:size=6;1"
|
;font-2 = "Overpass:size=6;1"
|
||||||
|
font-1 = "Overpass:size=10;1"
|
||||||
|
font-2 = "Symbola:size=10;1"
|
||||||
|
font-3 =
|
||||||
|
|
||||||
modules-left = i3
|
modules-left = i3 separator xwindow
|
||||||
modules-center = xwindow
|
modules-center = date
|
||||||
modules-right = cpu memory separator battery volume separator wlan eth temperature separator date redshift
|
modules-right = redshift
|
||||||
|
|
||||||
;tray-position = right
|
tray-position = right
|
||||||
;tray-padding = 2
|
tray-padding = 2
|
||||||
;tray-transparent = true
|
;tray-transparent = true
|
||||||
;tray-background = #0063ff
|
;tray-background = #0063ff
|
||||||
|
|
||||||
@ -67,12 +72,63 @@ modules-right = cpu memory separator battery volume separator wlan eth temperatu
|
|||||||
scroll-up = i3wm-wsnext
|
scroll-up = i3wm-wsnext
|
||||||
scroll-down = i3wm-wsprev
|
scroll-down = i3wm-wsprev
|
||||||
|
|
||||||
|
[bar/bottom]
|
||||||
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
|
width = ${bar/top.width}
|
||||||
|
height = ${bar/top.height}
|
||||||
|
;offset-x = 10%
|
||||||
|
;offset-y = 1%
|
||||||
|
radius = ${bar/top.radius}
|
||||||
|
fixed-center = true
|
||||||
|
bottom = true
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
line-size = ${bar/top.line-size}
|
||||||
|
line-color = ${bar/top.line-color}
|
||||||
|
|
||||||
|
;border-size = 5
|
||||||
|
border-color = #00000000
|
||||||
|
|
||||||
|
padding-left = ${bar/top.padding-left}
|
||||||
|
padding-right = ${bar/top.padding-right}
|
||||||
|
|
||||||
|
module-margin-left = ${bar/top.module-margin-left}
|
||||||
|
module-margin-right = ${bar/top.module-margin-right}
|
||||||
|
|
||||||
|
font-0 = ${bar/top.font-0}
|
||||||
|
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
|
font-1 = ${bar/top.font-1}
|
||||||
|
;font-2 = siji:pixelsize=10;1
|
||||||
|
font-2 = ${bar/top.font-2}
|
||||||
|
|
||||||
|
modules-left = cpu memory
|
||||||
|
modules-center = mpd
|
||||||
|
modules-right = battery volume separator wlan eth temperature
|
||||||
|
|
||||||
|
;tray-position = right
|
||||||
|
;tray-padding = 2
|
||||||
|
;tray-transparent = true
|
||||||
|
;tray-background = #0063ff
|
||||||
|
|
||||||
|
;wm-restack = bspwm
|
||||||
|
;wm-restack = i3
|
||||||
|
|
||||||
|
;override-redirect = true
|
||||||
|
|
||||||
|
;scroll-up = bspwm-desknext
|
||||||
|
;scroll-down = bspwm-deskprev
|
||||||
|
|
||||||
|
;scroll-up = i3wm-wsnext
|
||||||
|
;scroll-down = i3wm-wsprev
|
||||||
|
|
||||||
[module/separator]
|
[module/separator]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = "|"
|
content = "|"
|
||||||
content-foreground = ${colors.foreground}
|
content-foreground = ${colors.foreground}
|
||||||
content-padding = 1
|
content-padding = 1
|
||||||
|
fc-list | cut -f2 -d: | sort -u
|
||||||
[module/redshift]
|
[module/redshift]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
format = <label>
|
format = <label>
|
||||||
@ -168,21 +224,44 @@ label-urgent-padding = ${self.label-focused-padding}
|
|||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
|
||||||
|
|
||||||
icon-prev =
|
format-online = <label-song> <bar-progress> <label-time>
|
||||||
icon-stop =
|
format-offline = <label-offline>
|
||||||
icon-play =
|
|
||||||
icon-pause =
|
|
||||||
icon-next =
|
|
||||||
|
|
||||||
|
icon-prev = <<
|
||||||
|
icon-prev-foreground = ${colors.foreground}
|
||||||
|
icon-stop = ▪
|
||||||
|
icon-play = ▶
|
||||||
|
icon-pause = ▮▮
|
||||||
|
icon-pause-font = 3
|
||||||
|
icon-random =
|
||||||
|
icon-repeat = ⟳
|
||||||
|
icon-repeat-once = ⟳1
|
||||||
|
icon-next = >>
|
||||||
|
icon-next-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
label-song = %title% - %artist%
|
||||||
|
label-song-foreground = ${colors.foreground}
|
||||||
label-song-maxlen = 25
|
label-song-maxlen = 25
|
||||||
label-song-ellipsis = true
|
label-song-ellipsis = true
|
||||||
|
label-offline = "/// MPD ///"
|
||||||
|
label-offline-foreground = ${colors.background-alt}
|
||||||
|
label-time = %elapsed%/%total%
|
||||||
|
label-time-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
bar-progress-width = 100
|
||||||
|
bar-progress-indicator = ${module/bartemplate.bar-indicator}
|
||||||
|
bar-progress-fill = ${module/bartemplate.bar-fill}
|
||||||
|
bar-progress-fill-foreground = ${colors.primary-alt}
|
||||||
|
bar-progress-empty = ${module/bartemplate.bar-empty}
|
||||||
|
bar-progress-empty-foreground = ${module/bartemplate.bar-empty-foreground}
|
||||||
|
|
||||||
|
interval = 1
|
||||||
|
|
||||||
[module/bartemplate]
|
[module/bartemplate]
|
||||||
format = <label> <bar>
|
format = <label> <bar>
|
||||||
label = "<TEMPLATE>"
|
label = "<TEMPLATE>"
|
||||||
|
label-foreground = ${colors.foreground}
|
||||||
bar-width = 30
|
bar-width = 30
|
||||||
bar-fill = /
|
bar-fill = /
|
||||||
bar-fill-font = 1
|
bar-fill-font = 1
|
||||||
@ -209,6 +288,7 @@ card = intel_backlight
|
|||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
format = <label> <bar-load>
|
format = <label> <bar-load>
|
||||||
label = "CPU"
|
label = "CPU"
|
||||||
|
label-foreground = ${module/bartemplate.label-foreground}
|
||||||
bar-load-width = ${module/bartemplate.bar-width}
|
bar-load-width = ${module/bartemplate.bar-width}
|
||||||
bar-load-fill = ${module/bartemplate.bar-fill}
|
bar-load-fill = ${module/bartemplate.bar-fill}
|
||||||
bar-load-fill-font = ${module/bartemplate.bar-fill-font}
|
bar-load-fill-font = ${module/bartemplate.bar-fill-font}
|
||||||
@ -223,6 +303,7 @@ interval = 1
|
|||||||
type = internal/memory
|
type = internal/memory
|
||||||
format = <label> <bar-used>
|
format = <label> <bar-used>
|
||||||
label = "MEM"
|
label = "MEM"
|
||||||
|
label-foreground = ${module/bartemplate.label-foreground}
|
||||||
bar-used-width = ${module/bartemplate.bar-width}
|
bar-used-width = ${module/bartemplate.bar-width}
|
||||||
bar-used-fill = ${module/bartemplate.bar-fill}
|
bar-used-fill = ${module/bartemplate.bar-fill}
|
||||||
bar-used-fill-font = ${module/bartemplate.bar-fill-font}
|
bar-used-fill-font = ${module/bartemplate.bar-fill-font}
|
||||||
@ -265,6 +346,7 @@ format-connected-underline = #55aa55
|
|||||||
format-connected-prefix = " "
|
format-connected-prefix = " "
|
||||||
format-connected-prefix-foreground = ${colors.foreground-alt}
|
format-connected-prefix-foreground = ${colors.foreground-alt}
|
||||||
label-connected = %local_ip%
|
label-connected = %local_ip%
|
||||||
|
label-connected-foreground = ${colors.primary}
|
||||||
|
|
||||||
format-disconnected =
|
format-disconnected =
|
||||||
;format-disconnected = <label-disconnected>
|
;format-disconnected = <label-disconnected>
|
||||||
@ -281,12 +363,14 @@ date = " %Y-%m-%d"
|
|||||||
time = %H:%M
|
time = %H:%M
|
||||||
|
|
||||||
label = %date% %time%
|
label = %date% %time%
|
||||||
|
label-foreground = ${colors.foreground}
|
||||||
|
|
||||||
[module/volume]
|
[module/volume]
|
||||||
type = internal/volume
|
type = internal/volume
|
||||||
|
|
||||||
format-volume = <label-volume> <bar-volume>
|
format-volume = <label-volume> <bar-volume>
|
||||||
label-volume = 🔊VOL
|
label-volume = VOL
|
||||||
|
label-volume-foreground = ${colors.foreground}
|
||||||
|
|
||||||
format-muted = <label-muted> <bar-volume>
|
format-muted = <label-muted> <bar-volume>
|
||||||
label-muted = VOL
|
label-muted = VOL
|
||||||
@ -315,6 +399,7 @@ label-charging = CHR
|
|||||||
label-charging-foreground = ${self.bar-capacity-fill-foreground}
|
label-charging-foreground = ${self.bar-capacity-fill-foreground}
|
||||||
format-discharging = <label-discharging> <bar-capacity>
|
format-discharging = <label-discharging> <bar-capacity>
|
||||||
label-discharging = BAT
|
label-discharging = BAT
|
||||||
|
label-discharging-foreground = ${colors.foreground}
|
||||||
format-full = <label-full> <bar-capacity>
|
format-full = <label-full> <bar-capacity>
|
||||||
label-full = BAT
|
label-full = BAT
|
||||||
label-full-foreground = ${self.bar-capacity-fill-foreground}
|
label-full-foreground = ${self.bar-capacity-fill-foreground}
|
||||||
@ -338,6 +423,7 @@ format = <label>
|
|||||||
format-warn = <label-warn>
|
format-warn = <label-warn>
|
||||||
|
|
||||||
label = %temperature%
|
label = %temperature%
|
||||||
|
label-foreground = ${colors.foreground}
|
||||||
label-warn = %temperature%
|
label-warn = %temperature%
|
||||||
label-warn-foreground = ${xrdb:color9:#fb4934}
|
label-warn-foreground = ${xrdb:color9:#fb4934}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user