优化mpd、date配置

master
yutent 2023-07-07 04:23:24 +00:00
parent 98f7088978
commit 44999165fd
3 changed files with 9 additions and 2 deletions

View File

@ -34,7 +34,7 @@ bspc rule -a Alacritty follow=on focus=on
bspc rule -a Xfce4-terminal follow=on focus=on bspc rule -a Xfce4-terminal follow=on focus=on
# 一些软件, 也设为浮动 # 一些软件, 也设为浮动
for app_c in Thunar Code Sublime_text Google-chrome Inkscape do for app_c in Thunar Code Sublime_text Google-chrome Inkscape Gnome-boxes do
bspc rule -a $app_c follow=on focus=on bspc rule -a $app_c follow=on focus=on
done done

View File

@ -4,4 +4,4 @@ format-padding = 3
date = "%a, %m/%d" date = "%a, %m/%d"
time = "%k:%M" time = "%k:%M"
; 点击用alacrity打开日历命令 ; 点击用alacrity打开日历命令
label = %{A1:alacritty --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A} label = %{A1:alacritty --title Calendar --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A}

View File

@ -16,6 +16,13 @@ audio_output {
name "pulse audio" name "pulse audio"
} }
# 可视化频谱, 用于给mpd客户端, 如ncmpcpp用的。 不需要这个功能, 可以注释掉这个配置
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
## mpc 客户端 ## mpc 客户端
# `mpc update` 更新读取配置 # `mpc update` 更新读取配置