Update polybar configuration

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2022-01-04 16:07:35 +01:00
parent 58c347eecf
commit 01a6423ffc
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 12 additions and 21 deletions

View file

@ -14,7 +14,7 @@
# Variables # Variables
####################################### #######################################
[settings] [settings]
padding = 4 padding = 2
# 60% alpha # 60% alpha
background-color = ${xrdb:color0:#222} background-color = ${xrdb:color0:#222}
foreground-color = ${xrdb:color7:#222} foreground-color = ${xrdb:color7:#222}
@ -40,7 +40,7 @@ offset-y = 10
override-redirect = true override-redirect = true
wm-restack = i3 wm-restack = i3
font-0 = Noto Sans:pixelsize=12;3 font-0 = Iosevka:pixelsize=12;3
font-1 = Noto Sans CJK JP:pixelsize=12;3 font-1 = Noto Sans CJK JP:pixelsize=12;3
font-2 = Font Awesome 5 Free:style=Solid::pixelsize=12;3 font-2 = Font Awesome 5 Free:style=Solid::pixelsize=12;3
font-3 = Font Awesome 5 Brands:pixelsize=12;3 font-3 = Font Awesome 5 Brands:pixelsize=12;3
@ -49,7 +49,7 @@ background = ${settings.background-color}
foreground = ${settings.foreground-color} foreground = ${settings.foreground-color}
padding-right = 2 padding-right = 2
module-margin = 2 module-margin = 1
modules-left = i3 i3info modules-left = i3 i3info
modules-center = modules-center =
@ -69,7 +69,7 @@ inherit = bar/top
bottom = true bottom = true
modules-left = modules-left =
modules-center = modules-center =
modules-right = music modules-right = memory
tray-position = left tray-position = left
@ -294,19 +294,8 @@ content = 
click-left = $XDG_BIN_HOME/power click-left = $XDG_BIN_HOME/power
[module/memory]
type = internal/memory
####################################### ; Seconds to sleep between updates
# Music status in the bottom bar ; Default: 1
#######################################
[module/music]
type = internal/mpd
host = 127.0.0.1
port = 6600
password =
format-online = <label-song> - <label-time>
format-stopped = Not playing
label-song = %artist% - %album% - %title%
label-offline = mpd is offline
interval = 0.5

View file

@ -31,8 +31,10 @@ MONITORS=(
"eDP-1-1" "eDP-1-1"
"HDMI1" "HDMI1"
"HDMI-1-1" "HDMI-1-1"
"HDMI-1-2"
"DVI-I-1-1" "DVI-I-1-1"
"DVI-I-2-1" "DVI-I-2-1"
"HDMI2"
) )
for monitor in "${MONITORS[@]}"; do for monitor in "${MONITORS[@]}"; do