Polybar Color & Order Updates

- Move date, time, and media-playing modules to left
- Move dwm module to center
- Change dwm module colors to use common background color,
  but adjust text color
- Change module colors
- Remove layout label from dwm module
This commit is contained in:
Sravan Balaji
2021-07-25 11:49:27 -04:00
parent 6fb86d382f
commit 7691a25c19
2 changed files with 46 additions and 48 deletions

View File

@@ -5109,29 +5109,28 @@ To learn more about how to configure Polybar go to https://github.com/polybar/po
; left
powermenu = ${self.blue}
date = ${self.yellow}
time = ${self.purple}
media-playing = ${self.green}
dwm-focused-foreground = ${self.background}
dwm-focused-background = ${self.primary}
dwm-unfocused-foreground = ${self.background}
dwm-unfocused-background = ${self.pink}
dwm-visible-foreground = ${self.background}
dwm-visible-background = ${self.secondary}
dwm-urgent-foreground = ${self.foreground}
dwm-urgent-background = ${self.alert}
; center
dwm-focused-foreground = ${self.primary}
dwm-focused-background = ${self.background}
dwm-unfocused-foreground = ${self.pink}
dwm-unfocused-background = ${self.background}
dwm-visible-foreground = ${self.secondary}
dwm-visible-background = ${self.background}
dwm-urgent-foreground = ${self.alert}
dwm-urgent-background = ${self.background}
dwm-empty-foreground = ${self.foreground}
dwm-empty-background = ${self.background}
; center
media-playing = ${self.green}
; right
kernel = ${self.orange}
cpu = ${self.purple}
memory = ${self.blue}
filesystem = ${self.pink}
dunst-notification-status = ${self.red}
date = ${self.yellow}
time = ${self.green}
cpu = ${self.blue}
memory = ${self.red}
filesystem = ${self.green}
dunst-notification-status = ${self.yellow}
#+end_src
**** Sizes
@@ -5302,9 +5301,9 @@ Define module update intervals in seconds.
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
modules-left = powermenu dwm
modules-center = media-playing
modules-right = kernel cpu memory filesystem date time
modules-left = powermenu date time media-playing
modules-center = dwm
modules-right = kernel cpu memory filesystem
; The separator will be inserted between the output of each module
separator = ""
@@ -5438,7 +5437,7 @@ Define module update intervals in seconds.
[module/dwm]
type = internal/dwm
; format = <label-tags> <label-layout> <label-floating> <label-title>
format = <label-tags> <label-layout> <label-floating><label-title>
format = <label-tags>
; Path to dwm socket (default: /tmp/dwm.sock)
; socket-path = /tmp/dwm.sock
@@ -5479,9 +5478,9 @@ Define module update intervals in seconds.
; Available tokens:
; %symbol%
label-layout = %symbol%
label-layout-foreground = ${colors.foreground}
label-layout-background = ${colors.background-alt}
label-layout-underline = ${colors.background-alt}
label-layout-foreground = ${colors.green}
label-layout-background = ${colors.background}
label-layout-underline = ${colors.background}
label-layout-padding = ${sizes.module-padding}
; Text to show when currently focused window is floating

View File

@@ -21,29 +21,28 @@ alert = ${self.red}
; left
powermenu = ${self.blue}
date = ${self.yellow}
time = ${self.purple}
media-playing = ${self.green}
dwm-focused-foreground = ${self.background}
dwm-focused-background = ${self.primary}
dwm-unfocused-foreground = ${self.background}
dwm-unfocused-background = ${self.pink}
dwm-visible-foreground = ${self.background}
dwm-visible-background = ${self.secondary}
dwm-urgent-foreground = ${self.foreground}
dwm-urgent-background = ${self.alert}
; center
dwm-focused-foreground = ${self.primary}
dwm-focused-background = ${self.background}
dwm-unfocused-foreground = ${self.pink}
dwm-unfocused-background = ${self.background}
dwm-visible-foreground = ${self.secondary}
dwm-visible-background = ${self.background}
dwm-urgent-foreground = ${self.alert}
dwm-urgent-background = ${self.background}
dwm-empty-foreground = ${self.foreground}
dwm-empty-background = ${self.background}
; center
media-playing = ${self.green}
; right
kernel = ${self.orange}
cpu = ${self.purple}
memory = ${self.blue}
filesystem = ${self.pink}
dunst-notification-status = ${self.red}
date = ${self.yellow}
time = ${self.green}
cpu = ${self.blue}
memory = ${self.red}
filesystem = ${self.green}
dunst-notification-status = ${self.yellow}
[sizes]
bar-height = ${xrdb:polybar.bar-height:25}
@@ -191,9 +190,9 @@ font-3 = "IPAPGothic:size=11;3"
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
modules-left = powermenu dwm
modules-center = media-playing
modules-right = kernel cpu memory filesystem date time
modules-left = powermenu date time media-playing
modules-center = dwm
modules-right = kernel cpu memory filesystem
; The separator will be inserted between the output of each module
separator = ""
@@ -317,7 +316,7 @@ click-right = "/home/sravan/.scripts/control-center.sh --rofi"
[module/dwm]
type = internal/dwm
; format = <label-tags> <label-layout> <label-floating> <label-title>
format = <label-tags> <label-layout> <label-floating><label-title>
format = <label-tags>
; Path to dwm socket (default: /tmp/dwm.sock)
; socket-path = /tmp/dwm.sock
@@ -358,9 +357,9 @@ label-title-maxlen = ${sizes.maxlen}
; Available tokens:
; %symbol%
label-layout = %symbol%
label-layout-foreground = ${colors.foreground}
label-layout-background = ${colors.background-alt}
label-layout-underline = ${colors.background-alt}
label-layout-foreground = ${colors.green}
label-layout-background = ${colors.background}
label-layout-underline = ${colors.background}
label-layout-padding = ${sizes.module-padding}
; Text to show when currently focused window is floating