Polybar Adjustments & Remove Swallow Patch
- Disable unused swallow patch - Re-comment swallow patch dependencies in config.mk - Adjust polybar module colors - Add quick reference table for converting between seconds, minutes, and hours in polybar interval section - Change polybar main font to NotoSansDisplay Nerd Font - Move media-playing module to center - Move date & time modules to right - Change separator from space to none - Add program title to dwm module - Disable reverse scroll options in dwm module - Disable layout scrolling in dwm module due to crashes - Slightly shorten date module
This commit is contained in:
@ -33,18 +33,17 @@ dwm-urgent-background = ${self.alert}
|
||||
dwm-empty-foreground = ${self.foreground}
|
||||
dwm-empty-background = ${self.background}
|
||||
|
||||
; center
|
||||
media-playing = ${self.green}
|
||||
|
||||
; center
|
||||
date = ${self.blue}
|
||||
time = ${self.yellow}
|
||||
|
||||
; right
|
||||
kernel = ${self.purple}
|
||||
cpu = ${self.yellow}
|
||||
memory = ${self.pink}
|
||||
filesystem = ${self.blue}
|
||||
kernel = ${self.orange}
|
||||
cpu = ${self.purple}
|
||||
memory = ${self.blue}
|
||||
filesystem = ${self.pink}
|
||||
dunst-notification-status = ${self.red}
|
||||
date = ${self.yellow}
|
||||
time = ${self.green}
|
||||
|
||||
[sizes]
|
||||
bar-height = ${xrdb:polybar.bar-height:25}
|
||||
@ -183,7 +182,7 @@ module-margin = ${sizes.module-margin}
|
||||
; font-2 = Termsynu:size=8;-1
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
font-0 = "Ubuntu Nerd Font:size=11;3"
|
||||
font-0 = "NotoSansDisplay Nerd Font:size=11;3"
|
||||
font-1 = "FiraCode Nerd Font:size=11;3"
|
||||
font-2 = "Droid Sans Mono:size=11;3"
|
||||
font-3 = "IPAPGothic:size=11;3"
|
||||
@ -192,12 +191,12 @@ font-3 = "IPAPGothic:size=11;3"
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
modules-left = powermenu dwm media-playing
|
||||
modules-center = date time
|
||||
modules-right = kernel cpu memory filesystem
|
||||
modules-left = powermenu dwm
|
||||
modules-center = media-playing
|
||||
modules-right = kernel cpu memory filesystem date time
|
||||
|
||||
; The separator will be inserted between the output of each module
|
||||
separator = " "
|
||||
separator = ""
|
||||
|
||||
; This value is used to add extra spacing between elements
|
||||
; @deprecated: This parameter will be removed in an upcoming version
|
||||
@ -318,7 +317,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>
|
||||
format = <label-tags> <label-layout> <label-floating><label-title>
|
||||
; Path to dwm socket (default: /tmp/dwm.sock)
|
||||
; socket-path = /tmp/dwm.sock
|
||||
|
||||
@ -329,17 +328,17 @@ enable-tags-scroll = true
|
||||
; If true and enable-tags-scroll = true, scrolling will view all tags regardless if occupied
|
||||
tags-scroll-empty = true
|
||||
; If true and enable-tags-scroll = true, scrolling will cycle through tags backwards
|
||||
tags-scroll-reverse = true
|
||||
tags-scroll-reverse = false
|
||||
; If true and enable-tags-scroll = true, wrap active tag when scrolling
|
||||
tags-scroll-wrap = true
|
||||
; Left-click to set secondary layout, right-click to switch to previous layout
|
||||
enable-layout-click = true
|
||||
; Scroll to cycle between available layouts
|
||||
enable-layout-scroll = true
|
||||
enable-layout-scroll = false
|
||||
; Wrap when scrolling and reaching beginning/end of layouts
|
||||
layout-scroll-wrap = true
|
||||
; Reverse scroll direction
|
||||
layout-scroll-reverse = true
|
||||
layout-scroll-reverse = false
|
||||
|
||||
; If enable-layout-click = true, clicking the layout symbol will switch to this layout
|
||||
secondary-layout-symbol = [M]
|
||||
@ -352,7 +351,7 @@ secondary-layout-symbol = [M]
|
||||
; %title%
|
||||
label-title = %title%
|
||||
label-title-padding = ${sizes.module-padding}
|
||||
label-title-foreground = ${colors.foreground}
|
||||
label-title-foreground = ${colors.dwm-focused-background}
|
||||
label-title-maxlen = ${sizes.maxlen}
|
||||
|
||||
; Symbol of current layout
|
||||
@ -365,7 +364,7 @@ label-layout-underline = ${colors.background-alt}
|
||||
label-layout-padding = ${sizes.module-padding}
|
||||
|
||||
; Text to show when currently focused window is floating
|
||||
label-floating = (F)
|
||||
label-floating = "(F)"
|
||||
|
||||
; States: focused, unfocused, visible, urgent, empty
|
||||
; Available tokens:
|
||||
@ -472,7 +471,7 @@ interval = ${intervals.date}
|
||||
|
||||
; See "https://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
||||
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
||||
date = %a %x
|
||||
date = %a %D
|
||||
|
||||
; Optional time format
|
||||
; time = %X
|
||||
|
Reference in New Issue
Block a user