From 0db918ee1972935fb0aae4ab644446b3f207e018 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Mon, 15 Nov 2021 17:22:39 -0800 Subject: [PATCH] add mpd mdule locally and update config --- polybar-themes/sblocks/config.ini | 17 ++++++++--------- polybar-themes/sblocks/custom-mpd.ini | 17 ++++++++--------- polybar-themes/sblocks/modules.ini | 12 ++++++++++-- polybar-themes/sblocks/scripts/mpd-controls.sh | 17 +++++++++++++++++ polybar-themes/sblocks/scripts/show-music.sh | 18 ++++++++++++++++++ polybar-themes/sblocks/user_modules.ini | 5 ++++- 6 files changed, 65 insertions(+), 21 deletions(-) create mode 100755 polybar-themes/sblocks/scripts/mpd-controls.sh create mode 100755 polybar-themes/sblocks/scripts/show-music.sh diff --git a/polybar-themes/sblocks/config.ini b/polybar-themes/sblocks/config.ini index 17d62bb..3ae1da1 100644 --- a/polybar-themes/sblocks/config.ini +++ b/polybar-themes/sblocks/config.ini @@ -134,21 +134,20 @@ module-margin-right = 0 ; font-0 = "Terminus:size=10;3" ; font-1 = "waffle:size=10;3" -font-0 = "DroidSansMono Nerd Font:size=10;3" -font-1 = icomoon-feather:size=10;3 -font-2 = "Weather Icons:size=10;3" -font-3 = "Material Icons:size=10;3" +font-0 = "DroidSansMono Nerd Font:size=8;3" +font-1 = icomoon-feather:size=8;3 +font-2 = "Weather Icons:size=8;3" +font-3 = "Material Icons:size=8;3" ; ; Modules are added to one of the available blocks ; ; modules-left = cpu ram ; modules-center = xwindow xbacklight ; modules-right = ipc clock -modules-left = sep launcher sep workspaces sep flameshot color-picker sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next -modules-center = title +modules-left = sep launcher sep workspaces sep flameshot color-picker +modules-center = title-icon title sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next ; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep -; modules-right = package-updates-trigger package-updates bluetooth sep pulseaudio sep network-wlan sep weather sep date sep sysmenu sep -modules-right = bluetooth sep pulseaudio sep network-wlan sep date weather sep sysmenu sep +modules-right = package-updates-trigger package-updates bluetooth sep pulseaudio sep network-wlan sep date weather sep sysmenu sep ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ @@ -215,7 +214,7 @@ wm-restack = i3 ; Set a DPI values used when rendering text ; This only affects scalable fonts -dpi = 90 +dpi = 110 ; Enable support for inter-process messaging ; See the Messaging wiki page for more details. diff --git a/polybar-themes/sblocks/custom-mpd.ini b/polybar-themes/sblocks/custom-mpd.ini index 70d0df5..440b85c 100644 --- a/polybar-themes/sblocks/custom-mpd.ini +++ b/polybar-themes/sblocks/custom-mpd.ini @@ -2,22 +2,21 @@ type = custom/script tail = true interval = 0 -exec = $HOME/SudacodeRice/scripts/show-music.sh +exec = $HOME/SudacodeRice/polybar-themes/sblocks/scripts/show-music.sh format =