switched to single polybar with better dracula theme
This commit is contained in:
parent
fd1a687099
commit
11a1fbb64e
4 changed files with 34 additions and 40 deletions
|
@ -1,6 +1,6 @@
|
|||
[colors]
|
||||
background = #99282a36
|
||||
current-line = #FF44475a
|
||||
background = #282a36
|
||||
current-line = #44475a
|
||||
foreground = #f8f8f2
|
||||
comment = #6272a4
|
||||
|
||||
|
@ -13,6 +13,6 @@ red = #ff5555
|
|||
yellow = #f1fa8c
|
||||
|
||||
foreground-alt = ${self.foreground}
|
||||
background-alt = ${self.background}
|
||||
background-alt = #1E2029
|
||||
primary = ${self.pink}
|
||||
secondary = ${self.green}
|
||||
|
|
|
@ -61,7 +61,7 @@ offset-x = 0%
|
|||
offset-y = 0%
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${colors.background}
|
||||
background = ${colors.background-alt}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${colors.foreground}
|
||||
|
@ -130,8 +130,8 @@ font-1 = "FiraCode Nerd Font:size=11;3"
|
|||
; modules-right = ipc clock
|
||||
|
||||
modules-left = bspwm xwindow
|
||||
modules-right = battery pulseaudio powermenu
|
||||
modules-center = date
|
||||
modules-right = battery pulseaudio powermenu
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
|
@ -173,7 +173,7 @@ tray-maxsize = 16
|
|||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${colors.background}
|
||||
tray-background = ${colors.background-alt}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
|
@ -278,7 +278,7 @@ offset-x = 0%
|
|||
offset-y = 0%
|
||||
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
background = ${colors.background}
|
||||
background = ${colors.background-alt}
|
||||
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
foreground = ${colors.foreground}
|
||||
|
@ -299,7 +299,7 @@ radius-bottom = 0.0
|
|||
; Individual values can be defined using:
|
||||
; {overline,underline}-size
|
||||
; {overline,underline}-color
|
||||
line-size = 2
|
||||
line-size = 3
|
||||
line-color = ${colors.pink}
|
||||
|
||||
; Values applied to all borders
|
||||
|
@ -345,9 +345,9 @@ font-0 = "NotoSans Nerd Font:size=11;0"
|
|||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
modules-left = cpu memory
|
||||
modules-center =
|
||||
modules-right = wlan eth
|
||||
modules-left = cpu memory wlan eth battery
|
||||
modules-center = bspwm
|
||||
modules-right = pulseaudio date powermenu
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
|
@ -376,7 +376,7 @@ locale =
|
|||
; center
|
||||
; right
|
||||
; none
|
||||
tray-position = none
|
||||
tray-position = right
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
|
@ -389,7 +389,7 @@ tray-maxsize = 16
|
|||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||
; By default the tray container will use the bar
|
||||
; background color.
|
||||
tray-background = ${colors.background}
|
||||
tray-background = ${colors.background-alt}
|
||||
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||
tray-offset-x = 0
|
||||
|
|
|
@ -10,7 +10,7 @@ while ! pgrep -x bspwm >/dev/null; do sleep 1; done
|
|||
|
||||
# Launch Polybar
|
||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||
MONITOR=$m polybar --reload top -c ~/.config/polybar/config.ini &
|
||||
# MONITOR=$m polybar --reload top -c ~/.config/polybar/config.ini &
|
||||
MONITOR=$m polybar --reload bottom -c ~/.config/polybar/config.ini &
|
||||
done
|
||||
|
||||
|
|
|
@ -85,12 +85,12 @@ reverse-scroll = false
|
|||
|
||||
label-focused = %name%
|
||||
label-focused-foreground = ${colors.comment}
|
||||
label-focused-background = ${colors.pink}
|
||||
label-focused-background = ${colors.purple}
|
||||
label-focused-padding = 1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-foreground = ${colors.comment}
|
||||
label-occupied-background = ${colors.purple}
|
||||
label-occupied-background = ${colors.pink}
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%!
|
||||
|
@ -136,7 +136,7 @@ interface = enp42s0
|
|||
interval = 3.0
|
||||
|
||||
format-connected-underline = ${colors.purple}
|
||||
label-connected = "%{T2}%{T-}%upspeed% %{T2}%{T-}%downspeed%"
|
||||
label-connected = "%upspeed% %downspeed%"
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
|
@ -151,39 +151,33 @@ click-left=kitty bpytop
|
|||
[module/powermenu]
|
||||
type = custom/menu
|
||||
|
||||
expand-right = true
|
||||
expand-right = false
|
||||
|
||||
format-spacing = 1
|
||||
|
||||
label-open = "%{T2}%{T-} "
|
||||
label-open = " "
|
||||
label-open-foreground = ${colors.orange}
|
||||
label-close = "%{T2}%{T-} cancel"
|
||||
label-close = " cancel"
|
||||
label-close-foreground = ${colors.red}
|
||||
label-separator = |
|
||||
label-separator-foreground = ${colors.cyan}
|
||||
|
||||
menu-0-0 = "%{T2}%{T-} reboot"
|
||||
menu-0-0-exec = menu-open-1
|
||||
menu-0-1 = "%{T2}%{T-} power off"
|
||||
menu-0-1-exec = menu-open-2
|
||||
menu-0-2 = "%{T2}%{T-} hibernate"
|
||||
menu-0-2-exec = menu-open-3
|
||||
menu-0-0 = " reboot"
|
||||
menu-0-0-exec = #powermenu.open.1
|
||||
menu-0-1 = " power off"
|
||||
menu-0-1-exec = #powermenu.open.2
|
||||
menu-0-2 = " hibernate"
|
||||
menu-0-2-exec = #powermenu.open.3
|
||||
|
||||
menu-1-0 = "%{T2}%{T-} reboot"
|
||||
menu-1-0 = " reboot"
|
||||
menu-1-0-exec = systemctl reboot
|
||||
menu-1-1 = cancel
|
||||
menu-1-1-exec = menu-open-0
|
||||
|
||||
|
||||
menu-2-0 = "%{T2}%{T-} power off"
|
||||
menu-2-0 = " power off"
|
||||
menu-2-0-exec = systemctl poweroff
|
||||
menu-2-1 = cancel
|
||||
menu-2-1-exec = menu-open-0
|
||||
|
||||
menu-3-0 = "%{T2}%{T-} hibernate"
|
||||
menu-3-0 = " hibernate"
|
||||
menu-3-0-exec = systemctl hibernate
|
||||
menu-3-1 = cancel
|
||||
menu-3-1-exec = menu-open-0
|
||||
|
||||
|
||||
[module/pulseaudio]
|
||||
|
@ -193,10 +187,10 @@ format-volume = <label-volume> <bar-volume>
|
|||
label-volume = %percentage%%
|
||||
label-volume-foreground = ${colors.foreground}
|
||||
|
||||
label-muted = "%{T2}%{T-} muted"
|
||||
label-muted = " muted"
|
||||
label-muted-foreground = ${colors.foreground-alt}
|
||||
|
||||
bar-volume-width = 11
|
||||
bar-volume-width = 12
|
||||
bar-volume-foreground-0 = ${colors.green}
|
||||
bar-volume-foreground-1 = ${colors.green}
|
||||
bar-volume-foreground-2 = ${colors.green}
|
||||
|
@ -209,9 +203,9 @@ bar-volume-foreground-8 = ${colors.red}
|
|||
bar-volume-gradient = true
|
||||
bar-volume-indicator = |
|
||||
bar-volume-indicator-font = 2
|
||||
bar-volume-fill = ─
|
||||
bar-volume-fill = -
|
||||
bar-volume-fill-font = 2
|
||||
bar-volume-empty = ─
|
||||
bar-volume-empty = -
|
||||
bar-volume-empty-font = 2
|
||||
bar-volume-empty-foreground = ${colors.foreground}
|
||||
|
||||
|
@ -224,7 +218,7 @@ interface = wlp1s0
|
|||
interval = 3.0
|
||||
|
||||
format-connected-underline = ${colors.purple}
|
||||
label-connected = "%{T2}%{T-}%upspeed% %{T2}%{T-}%downspeed%"
|
||||
label-connected = "%upspeed% %downspeed%"
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
|
|
Loading…
Reference in a new issue