[colors] dark-gray = ${xrdb:background:#282A36} light-gray = ${xrdb:color8:#4D4D4D} lighter-gray = ${xrdb:color7:#BFBFBF} white = ${xrdb:foreground:#F8F8F2} purple = ${xrdb:color4:#BD93F9} blue = ${xrdb:color6:#8BE9FD} red = ${xrdb:color1:#FF5555} pink = ${xrdb:color5:#FF79C6} yellow = ${xrdb:color3:#F1FA8C} green = ${xrdb:color2:#50FA7B} orange = ${xrdb:color16:#FFB86C} background = #CC282A36 background-alt = ${self.light-gray} foreground = ${self.white} foreground-alt = ${self.lighter-gray} primary = ${self.purple} secondary = ${self.blue} alert = ${self.red} ; left powermenu-foreground = ${self.blue} powermenu-background = ${self.background} powermenu-underline = ${self.background} powermenu-overline = ${self.background} dwm-title-foreground = ${self.foreground} dwm-title-background = ${self.background} dwm-title-underline = ${self.background} dwm-title-overline = ${self.background} dwm-layout-foreground = ${self.green} dwm-layout-background = ${self.foreground} dwm-layout-underline = ${self.background} dwm-layout-overline = ${self.background} dwm-floating-foreground = ${self.pink} dwm-floating-background = ${self.foreground} dwm-floating-underline = ${self.background} dwm-floating-overline = ${self.background} dwm-focused-foreground = ${self.purple} dwm-focused-background = ${self.background} dwm-focused-underline = ${self.background} dwm-focused-overline = ${self.background} dwm-unfocused-foreground = ${self.pink} dwm-unfocused-background = ${self.background} dwm-unfocused-underline = ${self.background} dwm-unfocused-overline = ${self.background} dwm-visible-foreground = ${self.yellow} dwm-visible-background = ${self.background} dwm-visible-underline = ${self.background} dwm-visible-overline = ${self.background} dwm-urgent-foreground = ${self.red} dwm-urgent-background = ${self.background} dwm-urgent-underline = ${self.background} dwm-urgent-overline = ${self.background} dwm-empty-foreground = ${self.light-gray} dwm-empty-background = ${self.background} dwm-empty-underline = ${self.background} dwm-empty-overline = ${self.background} media-playing-foreground = ${self.green} media-playing-background = ${self.background} media-playing-underline = ${self.background} media-playing-overline = ${self.background} ; center tray-background = ${self.background} ; right system76-power-foreground = ${self.green} system76-power-background = ${self.background} system76-power-underline = ${self.background} system76-power-overline = ${self.background} kernel-foreground = ${self.orange} kernel-background = ${self.background} kernel-underline = ${self.background} kernel-overline = ${self.background} cpu-foreground = ${self.purple} cpu-background = ${self.background} cpu-underline = ${self.background} cpu-overline = ${self.background} memory-foreground = ${self.blue} memory-background = ${self.background} memory-underline = ${self.background} memory-overline = ${self.background} filesystem-foreground = ${self.pink} filesystem-background = ${self.background} filesystem-underline = ${self.background} filesystem-overline = ${self.background} date-foreground = ${self.yellow} date-background = ${self.background} date-underline = ${self.background} date-overline = ${self.background} time-foreground = ${self.purple} time-background = ${self.background} time-underline = ${self.background} time-overline = ${self.background} deadd-notification-center-foreground = ${self.green} deadd-notification-center-background = ${self.background} deadd-notification-center-underline = ${self.background} deadd-notification-center-overline = ${self.background} dunst-foreground = ${self.green} dunst-background = ${self.background} dunst-underline = ${self.background} dunst-overline = ${self.background} xfce4-notifyd-foreground = ${self.green} xfce4-notifyd-background = ${self.background} xfce4-notifyd-underline = ${self.background} xfce4-notifyd-overline = ${self.background} volume-foreground = ${self.red} volume-background = ${self.background} volume-underline = ${self.background} volume-overline = ${self.background} [sizes] bar-height = ${xrdb:polybar.bar-height:25} module-margin = ${xrdb:polybar.module-margin:0} module-padding = ${xrdb:polybar.module-padding:0} module-dwm-padding = ${xrdb:polybar.module-dwm-padding:2} tray-maxsize = ${xrdb:polybar.tray-maxsize:25} tray-scale = ${xrdb:polybar.tray-scale:1} maxlen = ${xrdb:polybar.maxlen:50} [intervals] media-playing = 1 system76-power = 86400 kernel = 86400 cpu = 1 memory = 1 filesystem = 600 date = 1 time = 1 dunst = 1 [global/wm] ; Adjust the _NET_WM_STRUT_PARTIAL top value ; Used for top aligned bars margin-bottom = 0 ; Adjust the _NET_WM_STRUT_PARTIAL bottom value ; Used for bottom aligned bars margin-top = 0 [bar/mybar] ; Use either of the following command to list available outputs: ; If unspecified, the application will pick the first one it finds. ; $ polybar -m | cut -d ':' -f 1 ; $ xrandr -q | grep " connected" | cut -d ' ' -f1 ; If no monitor is given, the primary monitor is used if it exists monitor = ${env:MONITOR} ; Use the specified monitor as a fallback if the main one is not found. ; monitor-fallback = ; Require the monitor to be in connected state ; XRandR sometimes reports my monitor as being disconnected (when in use) monitor-strict = false ; Use fuzzy matching for monitors (only ignores dashes -) ; Useful when monitors are named differently with different drivers. monitor-exact = true ; Tell the Window Manager not to configure the window. ; Use this to detach the bar if your WM is locking its size/position. ; Note: With this most WMs will no longer reserve space for ; the bar and it will overlap other windows. You need to configure ; your WM to add a gap where the bar will be placed. override-redirect = false ; Put the bar at the bottom of the screen bottom = false ; Prefer fixed center position for the `modules-center` block. ; The center block will stay in the middle of the bar whenever ; possible. It can still be pushed around if other blocks need ; more space. ; When false, the center block is centered in the space between ; the left and right block. fixed-center = true ; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%), ; the percentage can optionally be extended with a pixel offset like so: ; 50%:-10, this will result in a width or height of 50% minus 10 pixels width = 100% height = ${sizes.bar-height} ; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) ; the percentage can optionally be extended with a pixel offset like so: ; 50%:-10, this will result in an offset in the x or y direction ; of 50% minus 10 pixels offset-x = 0 offset-y = 0 ; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) background = ${colors.background} ; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) foreground = ${colors.foreground} ; Background gradient (vertical steps) ; background-[0-9]+ = #aarrggbb ; background-0 = ; Value used for drawing rounded corners ; Note: This shouldn't be used together with border-size because the border ; doesn't get rounded. For this to work you may also need to enable ; pseudo-transparency or use a compositor like compton. ; Individual top/bottom values can be defined using: ; radius-{top,bottom} radius = 10.0 ; Under-/overline pixel size and argb color ; Individual values can be defined using: ; {overline,underline}-size ; {overline,underline}-color overline-size = 0 underline-size = 0 ; Values applied to all borders ; Individual side values can be defined using: ; border-{left,top,right,bottom}-size ; border-{left,top,right,bottom}-color ; The top and bottom borders are added to the bar height, so the effective ; window height is: ; height + border-top-size + border-bottom-size ; Meanwhile the effective window width is defined entirely by the width key and ; the border is placed within this area. So you effectively only have the ; following horizontal space on the bar: ; width - border-right-size - border-left-size ; border-size can be defined as pixel value (e.g. 35) or percentage (e.g. 50%), ; the percentage can optionally be extended with a pixel offset like so: ; 50%:-10, this will result in 50% minus 10 pixels. The percentage is relative ; to the monitor width or height depending on the border direction. ; border-size = ; border-color = ; Number of spaces to add at the beginning/end of the bar ; Individual side values can be defined using: ; padding-{left,right} padding-left = ${self.module-margin} padding-right = ${self.module-margin} ; Number of spaces to add before/after each module ; Individual side values can be defined using: ; module-margin-{left,right} module-margin = ${sizes.module-margin} ; Fonts are defined using ; ; Font names are specified using a fontconfig pattern. ; font-0 = NotoSans-Regular:size=8;2 ; font-1 = MaterialIcons:size=10 ; font-2 = Termsynu:size=8;-1 ; font-3 = FontAwesome:size=10 ; See the Fonts wiki page for more details font-0 = "Ubuntu Nerd Font:style=Medium:size=11;3" font-1 = "MonaspiceNe NF:size=11;3" font-2 = "DroidSansM Nerd Font:size=11;3" font-3 = "IPAPGothic:size=11;3" font-4 = "Baekmuk Dotum:size=11;3" font-5 = "IPAPGothic:size=11;3" font-6 = "NotoSansNerdFont:size=11;3" font-7 = "NotoSansCJK:size=11;3" font-8 = "NotoSansYi:size=11;3" ; Modules are added to one of the available blocks ; modules-left = cpu ram ; modules-center = xwindow xbacklight ; modules-right = ipc clock modules-left = powermenu-left powermenu powermenu-right dwm volume-left volume volume-right media-playing-left media-playing-change media-playing-prev media-playing-play-pause media-playing-next media-playing media-playing-right ; modules-center = modules-right = kernel-left kernel kernel-right system76-power-left system76-power system76-power-right cpu-left cpu cpu-right memory-left memory memory-right filesystem-left filesystem filesystem-right date-left date date-right time-left time time-right dunst-left dunst-status dunst-clear dunst-history-view dunst-history-clear dunst-history-length dunst-right ; The separator will be inserted between the output of each module separator = "" ; This value is used to add extra spacing between elements ; @deprecated: This parameter will be removed in an upcoming version ; spacing = 0 ; Opacity value between 0.0 and 1.0 used on fade in/out dim-value = 1.0 ; Value to be used to set the WM_NAME atom ; If the value is empty or undefined, the atom value ; will be created from the following template: polybar-[BAR]_[MONITOR] ; NOTE: The placeholders are not available for custom values ; wm-name = ; Locale used to localize various module data (e.g. date) ; Expects a valid libc locale, for example: sv_SE.UTF-8 locale = en_US.utf8 ; Position of the system tray window ; If empty or undefined, tray support will be disabled ; NOTE: A center aligned tray will cover center aligned modules ; ; Available positions: ; left ; center ; right ; none tray-position = ${env:TRAY_POS} ; If true, the bar will not shift its ; contents when the tray changes tray-detached = false ; Tray icon max size tray-maxsize = ${sizes.tray-maxsize} ; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency ; Enable pseudo transparency ; Will automatically be enabled if a fully transparent ; background color is defined using `tray-background` ; tray-transparent = false ; Background color for the tray container ; ARGB color (e.g. #f00, #ff992a, #ddff1023) ; By default the tray container will use the bar ; background color. tray-background = ${colors.tray-background} ; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) tray-offset-x = 0 tray-offset-y = 0 ; Pad the sides of each tray icon tray-padding = ${self.module-margin} ; Scale factor for tray clients tray-scale = ${sizes.tray-scale} ; Restack the bar window. Fixes the issue where the ; bar is being drawn on top of fullscreen windows. ; ; Currently supported options: ; generic (works in xmonad, may work with other WMs) ; bspwm ; i3 (requires: `override-redirect = true`) ; wm-restack = generic ; Set a DPI values used when rendering text ; This only affects scalable fonts ; Set this to 0 to let polybar calculate the dpi from the screen size. ; dpi = dpi-x = ${xrdb:dpi} dpi-y = ${xrdb:dpi} ; Enable support for inter-process messaging ; See the Messaging wiki page for more details. enable-ipc = true ; Fallback click handlers that will be called if ; there's no matching module handler found. ; click-left = ; click-middle = ; click-right = ; scroll-up = ; scroll-down = ; double-click-left = ; double-click-middle = ; double-click-right = ; Requires polybar to be built with xcursor support (xcb-util-cursor) ; Possible values are: ; - default : The default pointer as before, can also be an empty string (default) ; - pointer : Typically in the form of a hand ; - ns-resize : Up and down arrows, can be used to indicate scrolling cursor-click = pointer cursor-scroll = ns-resize [module/powermenu-left] type = custom/text content = " " content-foreground = ${colors.powermenu-background} content-underline = ${colors.powermenu-underline} content-overline = ${colors.powermenu-overline} content-padding = ${sizes.module-padding} [module/powermenu-right] type = custom/text content = " " content-foreground = ${colors.powermenu-background} content-underline = ${colors.powermenu-underline} content-overline = ${colors.powermenu-overline} content-padding = ${sizes.module-padding} [module/powermenu] type = custom/text ; content = " Menu" content = "󰀻" ; content = "" ; "content" has the same properties as "format-NAME" content-foreground = ${colors.powermenu-foreground} content-background = ${colors.powermenu-background} content-underline = ${colors.powermenu-underline} content-overline = ${colors.powermenu-overline} content-padding = ${sizes.module-padding} ; "click-(left|middle|right)" will be executed using "/bin/sh -c $COMMAND" ; click-left = notify-send left ; click-middle = notify-send middle ; click-right = notify-send right click-left = "rofi -show combi" click-right = "~/.scripts/control-center.sh --rofi" ; "scroll-(up|down)" will be executed using "/bin/sh -c $COMMAND" ; scroll-up = notify-send scroll up ; scroll-down = notify-send scroll down [module/dwm] type = internal/dwm ; format = format = ; Path to dwm socket (default: /tmp/dwm.sock) ; socket-path = /tmp/dwm.sock ; Left-click to view tag, right-click to toggle tag view enable-tags-click = true ; Scroll to cycle between available tags 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 = 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 = false ; Wrap when scrolling and reaching beginning/end of layouts layout-scroll-wrap = true ; Reverse scroll direction layout-scroll-reverse = false ; If enable-layout-click = true, clicking the layout symbol will switch to this layout secondary-layout-symbol = [M] ; Separator in between shown tags ; label-separator = | ; Title of currently focused window ; Available tokens: ; %title% label-title = %title% label-title-foreground = ${colors.dwm-title-foreground} label-title-background = ${colors.dwm-title-background} label-title-underline = ${colors.dwm-title-underline} label-title-overline = ${colors.dwm-title-overline} label-title-maxlen = ${sizes.maxlen} label-title-padding = ${sizes.module-dwm-padding} ; Symbol of current layout ; Available tokens: ; %symbol% label-layout = %symbol% label-layout-foreground = ${colors.dwm-layout-foreground} label-layout-background = ${colors.dwm-layout-background} label-layout-underline = ${colors.dwm-layout-underline} label-layout-overline = ${colors.dwm-layout-overline } label-layout-padding = ${sizes.module-dwm-padding} ; Text to show when currently focused window is floating label-floating = "(F)" label-floating-foreground = ${colors.dwm-floating-foreground} label-floating-background = ${colors.dwm-floating-background} label-floating-underline = ${colors.dwm-floating-underline} label-floating-overline = ${colors.dwm-floating-overline} label-floating-padding = ${sizes.module-dwm-padding} ; States: focused, unfocused, visible, urgent, empty ; Available tokens: ; %name% ; focused = Selected tag on focused monitor label-focused = %name% label-focused-foreground = ${colors.dwm-focused-foreground} label-focused-background = ${colors.dwm-focused-background} label-focused-underline = ${colors.dwm-focused-underline} label-focused-overline = ${colors.dwm-focused-overline} label-focused-padding = ${sizes.module-dwm-padding} ; unfocused = Unselected tag on unselected monitor label-unfocused = %name% label-unfocused-foreground = ${colors.dwm-unfocused-foreground} label-unfocused-background = ${colors.dwm-unfocused-background} label-unfocused-underline = ${colors.dwm-unfocused-underline} label-unfocused-overline = ${colors.dwm-unfocused-overline} label-unfocused-padding = ${sizes.module-dwm-padding} ; visible = Unselected tag, but occupied tag on any monitor label-visible = %name% label-visible-foreground = ${colors.dwm-visible-foreground} label-visible-background = ${colors.dwm-visible-background} label-visible-underline = ${colors.dwm-visible-underline} label-visible-overline = ${colors.dwm-visible-overline} label-visible-padding = ${sizes.module-dwm-padding} ; urgent = Unselected tag with window that has urgency hint set label-urgent = %name% label-urgent-foreground = ${colors.dwm-urgent-foreground} label-urgent-background = ${colors.dwm-urgent-background} label-urgent-underline = ${colors.dwm-urgent-underline} label-urgent-overline = ${colors.dwm-urgent-overline} label-urgent-padding = ${sizes.module-dwm-padding} ; empty = Unselected and unoccupied tag ; This can be set to an empty string to hide empty tags label-empty = %name% label-empty-foreground = ${colors.dwm-empty-foreground} label-empty-background = ${colors.dwm-empty-background} label-empty-underline = ${colors.dwm-empty-underline} label-empty-overline = ${colors.dwm-empty-overline} label-empty-padding = ${sizes.module-dwm-padding} [module/media-playing-left] type = custom/text content = " " content-foreground = ${colors.media-playing-background} content-underline = ${colors.media-playing-underline} content-overline = ${colors.media-playing-overline} content-padding = ${sizes.module-padding} [module/media-playing-right] type = custom/text content = " " content-foreground = ${colors.media-playing-background} content-underline = ${colors.media-playing-underline} content-overline = ${colors.media-playing-overline} content-padding = ${sizes.module-padding} [module/media-playing] type = custom/script exec = ~/.config/dwm-flexipatch/polybar/scripts/scroll-media-playing.sh tail = true interval = ${intervals.media-playing} format =