diff --git a/polybar/bar-material-supplements.ttf b/polybar/bar-material-supplements.ttf index 0104207..ffe8bd3 100644 Binary files a/polybar/bar-material-supplements.ttf and b/polybar/bar-material-supplements.ttf differ diff --git a/polybar/clock.py b/polybar/clock.py index cf1c160..14dd29c 100755 --- a/polybar/clock.py +++ b/polybar/clock.py @@ -30,9 +30,9 @@ try: hour = hourhands [ t.hour % 12 ] if FILL_CLOCK_FACE: - return color_for(t) + "%{T8}%{F#000}%{O-27}" + hour + "%{O-27}" + minute + "%{T-}%{F}" + return "%{O1}%{T8}" + color_for(t) + "%{O-27}%{F#000}" + hour + minute + "%{O27}" + "%{T-}%{F}" else: - return "%{O1}%{T8}" + color_for(t) + "%{O-27}" + hour + "%{O-27}" + minute + "%{T-}%{F}" + return "%{O1}%{T8}" + color_for(t) + hour + minute + "%{T-}%{F}" def color_for(t): diff --git a/polybar/config.ini b/polybar/config.ini index 6d20078..c52dc3e 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -146,7 +146,7 @@ type = internal/mpd ;format-online = %{T9}%{T-}%{O-125}%{T5}%{T-} ;small-format-online = %{T9}%{T-}%{O-50}%{T5}%{T-} -format-online = %{A1:mpdclient &:}%{T9}%{T-}%{O-125}%{T5}%{T-}%{A} +format-online = %{A1:mpdclient &:}%{T9}%{T-}%{O-180}%{T5}%{T-}%{A} small-format-online = %{A1:mpdclient &:}%{T9}%{T-}%{O-50}%{T5}%{T-}%{A} ro-format-online = %{T9}%{T-}%{O-125}%{T5}%{T-} @@ -170,7 +170,7 @@ small-label-song-maxlen = 7 label-song-ellipsis = false label-song-foreground = ${colors.foreground} -bar-progress-width = 25 +bar-progress-width = 30 small-bar-progress-width = 10 bar-progress-indicator = ╴ bar-progress-indicator-foreground = #eee @@ -232,7 +232,7 @@ card = intel_backlight type = internal/cpu interval = 3 ;format-prefix = " " -format = "%{O-22}%{A1:i3-sensible-terminal -x htop &:}%{A}" +format = "%{O-22}%{A1:alacritty -e htop &:}%{A}" format-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt} @@ -266,7 +266,7 @@ ramp-coreload-7-foreground = ${colors.foreground-alert} [module/memory] type = internal/memory interval = 3 -format = "%{A1:i3-sensible-terminal -x htop &:}%{A}" +format = "%{A1:alacritty -e htop &:}%{A}" format-foreground = ${colors.foreground-alt} ramp-used-0 = @@ -313,7 +313,7 @@ units = false format = format-foreground = ${colors.foreground-alt} -format-warn = "%{O-22}%{A1:i3-sensible-terminal -x watch sensors &:}%{T3}%{T-} %{A}" +format-warn = "%{O-22}%{A1:alacritty -e watch sensors &:}%{T3}%{T-} %{A}" format-warn-foreground = ${colors.foreground-alert} label = %temperature-c%℃ @@ -321,7 +321,7 @@ label-warn = %temperature-c%℃ [module/wlan] type = internal/network -interface = wlp5s0 +interface = wlp58s0 interval = 3 ; %{T7} select font 7 @@ -331,15 +331,16 @@ interval = 3 ; %{O-18} go back 18 pixels to the left ; show a signal strength icon ; This overlays the actual signal strength icon over the dark "full signal" icon -format-connected = %{A:i3-sensible-terminal -x nmtui-connect &:}%{A3:i3-sensible-terminal -x nmtui &:}%{T7}%{F#333}%{F}%{T-}%{O-18}%{A}%{A} +format-connected = %{A:alacritty -e wlan &:}%{T7}%{F#333}%{F}%{T-}%{O-18}%{A} format-connected-foreground = ${colors.foreground-alt} label-connected = %essid% -format-disconnected = %{A1:i3-sensible-terminal -x nmtui-connect &:}%{A3:i3-sensible-terminal -x nmtui &:}%{A}%{A} +format-disconnected = %{A1:alacritty -e wlan &:}%{A} label-disconnected =  label-disconnected-foreground = ${colors.foreground-alt} -ramp-signal-0 = "" +;ramp-signal-0 = "" +ramp-signal-0 = ramp-signal-1 = ramp-signal-2 = ramp-signal-3 =  @@ -348,7 +349,7 @@ ramp-signal-foreground = ${colors.foreground} [module/eth] type = internal/network -interface = enp4s0 +interface = enp57s0f1 interval = 3 label-connected = "%{O-32}" @@ -373,7 +374,12 @@ exec = ~/.config/polybar/clock.py ;America/Detroit Asia/Seoul [module/volume] -type = internal/pulseaudio +;type = internal/pulseaudio +type = internal/alsa + +master-soundcard = default +speaker-soundcard = default +headphone-soundcard = default format-muted =  format-muted-foreground = ${colors.foreground-alt} @@ -392,13 +398,13 @@ adapter = AC full-at = 90 interval = 5 -format-charging = %{T7}%{F#555}%{O-18}%{F#DDA}%{O-17}%{F000}%{F}%{T-}%{O2} +format-charging = %{A:alacritty -e bat --hold &:}%{T7}%{F#555}%{O-18}%{F#DDA}%{O-17}%{F#000}%{F}%{T-}%{O19}%{A} label-charging = %percentage% -format-discharging = %{F#555}%{O-18}%{F}%{O2} +format-discharging = %{A:alacritty -e bat --hold &:}%{F#555}%{O-18}%{F}%{O2}%{A} label-discharging = %percentage% -format-full = "%{F#dda}%{F#eea} unplug%{F}" +format-full = "%{A:alacritty -e bat --hold &:}%{F#dda}%{F#eea} unplug%{F}%{A}" ; <5 ramp-capacity-0 = %{F#f55}