mpd播放的歌曲, 增加点击打开ncmpcpp
parent
a0ecaca10f
commit
03a7f2c986
|
@ -0,0 +1,63 @@
|
|||
env:
|
||||
TERM: alacritty
|
||||
WINIT_X11_SCALE_FACTOR: '1.125'
|
||||
|
||||
window:
|
||||
dimensions:
|
||||
columns: 52
|
||||
lines: 12
|
||||
|
||||
padding:
|
||||
x: 6
|
||||
y: 6
|
||||
|
||||
opacity: 0.85
|
||||
|
||||
|
||||
font:
|
||||
normal:
|
||||
family: Menlo
|
||||
|
||||
bold:
|
||||
family: Menlo
|
||||
|
||||
italic:
|
||||
family: Menlo
|
||||
|
||||
size: 10.0
|
||||
|
||||
|
||||
colors:
|
||||
|
||||
primary:
|
||||
background: '0x57606f'
|
||||
foreground: '0xf2f5fc'
|
||||
|
||||
selection:
|
||||
text: 'CellForeground'
|
||||
background: '#96CCF8'
|
||||
|
||||
normal:
|
||||
black: '0x323F4D'
|
||||
red: '0xF33E22'
|
||||
green: '0x19BC9C'
|
||||
yellow: '0xF5BD07'
|
||||
blue: '0x62aeef'
|
||||
magenta: '0x9595D0'
|
||||
cyan: '0x05979A'
|
||||
white: '0xCED6E0'
|
||||
|
||||
bright:
|
||||
black: '0x86909B'
|
||||
red: '0xFC7661'
|
||||
green: '0x41D3B7'
|
||||
yellow: '0xFFD341'
|
||||
blue: '0x64B5F6'
|
||||
magenta: '0xA6A6D1'
|
||||
cyan: '0x34E2E2'
|
||||
white: '0xDAE1E9'
|
||||
|
||||
|
||||
draw_bold_text_with_bright_colors: true
|
||||
transparent_background_colors: true
|
||||
|
|
@ -11,8 +11,7 @@ include-file = ./modules.ini
|
|||
|
||||
[bar/main]
|
||||
;override-redirect = true
|
||||
owm-restack = genery
|
||||
;owm-restack = bspwm
|
||||
owm-restack = bspwm
|
||||
|
||||
;locale = zh_CN.UTF-8
|
||||
|
||||
|
@ -21,8 +20,8 @@ foreground = ${color.foreground}
|
|||
|
||||
|
||||
width = 100%
|
||||
height = 26
|
||||
border-size = 6
|
||||
height = 24
|
||||
border-size = 5
|
||||
border-color = ${color.background}
|
||||
padding-left = 0
|
||||
padding-right = 2
|
||||
|
@ -35,17 +34,18 @@ font-0 = "Raleway:size=11;3"
|
|||
font-1 = "HarmonyOS Sans SC:size=11;3"
|
||||
font-2 = "Material Icons:size=14;5"
|
||||
font-3 = "Symbols Nerd Font:size=15;4"
|
||||
;font-3 = "DejaVu Sans:size=15;4"
|
||||
font-4 = "Arial:size=10;4"
|
||||
;font-5 = "DejaVu Sans:size=15;4"
|
||||
|
||||
fixed-center = true
|
||||
|
||||
modules-left = logo workspace pipe-db mpd
|
||||
modules-left = logo workspace pipe-db mpd
|
||||
modules-center = date
|
||||
modules-right = netspeed pipe tray pipe volume power
|
||||
|
||||
|
||||
pseudo-transparency = true
|
||||
|
||||
tray-maxsize = 16
|
||||
tray-scale = 1.0
|
||||
|
||||
|
||||
enable-ipc = true
|
||||
|
@ -68,6 +68,7 @@ cursor-click = pointer
|
|||
|
||||
[settings]
|
||||
|
||||
pseudo-transparency = true
|
||||
screenchange-reload = false
|
||||
|
||||
compositing-background = source
|
||||
|
@ -77,13 +78,11 @@ compositing-underline = over
|
|||
compositing-border = over
|
||||
|
||||
|
||||
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
|
||||
tray-margin = 6
|
||||
tray-position = adaptive
|
||||
;tray-position = adaptive
|
||||
tray-padding = 4
|
||||
tray-maxsize = 16
|
||||
tray-detached = false
|
||||
tray-background = ${color.background}
|
||||
tray-scale = 1.0
|
|
@ -14,8 +14,8 @@ label-offline = "mpd is offline..."
|
|||
|
||||
|
||||
; 当前歌曲
|
||||
label-song = " %artist% - %title%"
|
||||
label-song-maxlen = 25
|
||||
label-song = %{A1:alacritty --config-file $HOME/.config/alacritty/mpc.yml -e ncmpcpp:} %artist% - %title%%{A}
|
||||
;label-song-maxlen = 25
|
||||
label-song-ellipsis = true
|
||||
|
||||
; 歌曲时长
|
||||
|
|
|
@ -9,7 +9,6 @@ sink =
|
|||
; Default: true
|
||||
use-ui-max = false
|
||||
|
||||
|
||||
; 音量显示格式
|
||||
; 可用标签 <bar-volume> 音量条
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
|
@ -24,16 +23,20 @@ format-muted-prefix-foreground = ${color.altforeground}
|
|||
format-muted-background = ${color.background}
|
||||
format-muted-padding = 1
|
||||
|
||||
; 静音的文字提示
|
||||
; 静音的文字提示,
|
||||
label-muted = " "
|
||||
label-muted-foreground = ${color.altforeground}
|
||||
|
||||
# 数字音量
|
||||
;label-font = 4
|
||||
label-volume-font = 5
|
||||
|
||||
; 音量条
|
||||
;bar-volume-width = 5
|
||||
;bar-volume-gradient = false
|
||||
|
||||
;bar-volume-indicator = 雷
|
||||
;bar-volume-indicator-font = 2
|
||||
;bar-volume-indicator-font = 3
|
||||
;bar-volume-indicator-foreground = ${color.blue}
|
||||
|
||||
;bar-volume-fill = 絛
|
||||
|
@ -59,5 +62,5 @@ ramp-volume-6 = 墳
|
|||
ramp-volume-7 = 墳
|
||||
ramp-volume-8 = 墳
|
||||
ramp-volume-9 = 墳
|
||||
ramp-volume-font = 2
|
||||
ramp-volume-foreground = ${color.blue}
|
||||
ramp-volume-font = 3
|
||||
ramp-volume-foreground = ${color.blue}
|
||||
|
|
Loading…
Reference in New Issue