From 44999165fdd2282e515c1c5539bca023ca40edba Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 7 Jul 2023 04:23:24 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96mpd=E3=80=81date=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/config/bspwm/bspwmrc | 2 +- home/config/polybar/modules/date.ini | 2 +- home/mpd/mpd.conf | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/home/config/bspwm/bspwmrc b/home/config/bspwm/bspwmrc index fbd403f..988297a 100644 --- a/home/config/bspwm/bspwmrc +++ b/home/config/bspwm/bspwmrc @@ -34,7 +34,7 @@ bspc rule -a Alacritty 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 done diff --git a/home/config/polybar/modules/date.ini b/home/config/polybar/modules/date.ini index 92d7718..e4a10a0 100644 --- a/home/config/polybar/modules/date.ini +++ b/home/config/polybar/modules/date.ini @@ -4,4 +4,4 @@ format-padding = 3 date = "%a, %m/%d" time = "%k:%M" ; 点击用alacrity打开日历命令 -label = %{A1:alacritty --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A} \ No newline at end of file +label = %{A1:alacritty --title Calendar --config-file $HOME/.config/alacritty/calendar.yml --hold -e "cal":}%date% %time%%{A} \ No newline at end of file diff --git a/home/mpd/mpd.conf b/home/mpd/mpd.conf index 45c6040..c724c3c 100644 --- a/home/mpd/mpd.conf +++ b/home/mpd/mpd.conf @@ -16,6 +16,13 @@ audio_output { name "pulse audio" } +# 可视化频谱, 用于给mpd客户端, 如ncmpcpp用的。 不需要这个功能, 可以注释掉这个配置 +audio_output { + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" + format "44100:16:2" +} ## mpc 客户端 # `mpc update` 更新读取配置