;################################################################### ; ; ; - uNd0xR polybar config - ; ; ;################################################################### ;---------------------------------------------------------- ; C O L O R S ;---------------------------------------------------------- [colors] background = #222 background-alt = #444 foreground = #dfdfdf foreground-alt = #cbcbcb primary = #ffb52a secondary = #e60053 alert = #bd2c40 ;---------------------------------------------------------- ; G L O B A L ;---------------------------------------------------------- [global/wm] margin-top = 0 margin-bottom = 2 [bar/bar] monitor = ${env:MONITOR:eDP-1} width = 100% height = 22 offset-x = 0 offset-y = 0 ;dock = true ;background = ${xrdb:color9} background = ${colors.background} foreground = ${colors.foreground} overline-size = 1 overline-color = #f00 underline-size = 1 underline-color = #00f border-bottom-size = 1 border-bottom-color = #333 border-color-foreground = #FFFFFF spacing = 0 padding-left = 0 padding-right = 1 module-margin-left = 0 module-margin-right = 1 ;---------------------------------------------------------- ; F O N T S ;---------------------------------------------------------- ;font-0 = Terminus:size=12;0 font-0 = Terminus:size=12;0 ;font-0 = Roboto:pixelsize=14;0 font-1 = Roboto:size=11:weight=bold font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-* font-3 = FontAwesome:size=8;0 font-4 = PowerlineSymbols:size=9;0 font-5 = siji:pixelsize=10;0 font-6 = GohuFont:pixelsize=14:weight=bold ;---------------------------------------------------------- ; M A I N M O D U L E L A Y O U T ;---------------------------------------------------------- ;modules-left = bspwm quickmenu menu modules-left = ewmh modules-center = xwindow modules-right = volume memory battery temperature date ;---------------------------------------------------------- ; M E N U ;---------------------------------------------------------- [module/menu] type = custom/text content = "  " content-foreground = #f57900 ;label-open = " " ;label-open-foreground = #85e178 ;alt-icon = content-padding = 1 ;content-background = ${color.acolor} ;content-foreground = ${color.fg} click-left = $HOME/.config/polybar/scripts/menu ;click-middle = $HOME/.config/polybar/scripts/menu_full click-right = $HOME/.config/polybar/scripts/menu ;/home/null/.config/polybar/scripts/menu ;---------------------------------------------------------- ; X W O R K S P A C E S ;---------------------------------------------------------- [module/ewmh] type = internal/xworkspaces ; Only show workspaces defined on the same output as the bar ; ; Useful if you want to show monitor specific workspaces ; on different bars ; ; Default: false pin-workspaces = false ; Create click handler used to focus desktop ; Default: true enable-click = true ; Create scroll handlers used to cycle desktops ; Default: true enable-scroll = true label-active-foreground = #8ae234 label-active-padding = 2 label-occupied-padding = 2 label-occupied-foreground = #e89a4e label-urgent-background = ${colors.alert} label-urgent-padding = 2 label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 ;---------------------------------------------------------- ; T R A Y ;---------------------------------------------------------- ;tray-position = center ;cursor-click = pointer tray-position = center tray-padding = 10 tray-offset-x = 21% ;tray-transparent = false ;tray-background = #0063ff ;enable-ipc = true wm-restack = bspwm ;tray-scale = 1.0 ;override-redirect = true ;dpi-x = 96 ;dpi-y = 96 ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev ;---------------------------------------------------------- ; X W I N D O W ;---------------------------------------------------------- [module/xwindow] type = internal/xwindow label = - %title:0:30:...% format-padding = 2 label-padding-left = 2 label-padding-right = 2 label-background = #1d1f1d ;---------------------------------------------------------- ; X K E Y B O A R D ;---------------------------------------------------------- [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock format-underline = ${colors.secondary} format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} label-layout = %layout% label-indicator-padding = 2 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} ;---------------------------------------------------------- ; F I L E S Y S T E M ;---------------------------------------------------------- [module/filesystem] type = internal/fs interval = 25 mount-0 = /home ;mount-1 = /home ;mount-2 = /invalid/mountpoint format-mounted-prefix = "/HOME:" format-mounted-foreground = #FFFFFF ;format-mounted-overline = #73d216 label-mounted = %percentage_used% label-mounted-padding = 1 ;label-mounted-underline= #73d216 ;label-mounted-overline= #73d216 label-unmounted = %mountpoint%: not mounted label-unmounted-foreground = ${colors.foreground-alt} ;---------------------------------------------------------- ; B S P W M M O D U L E ;---------------------------------------------------------- [module/bspwm] type = internal/bspwm ; Only show workspaces defined on the same output as the bar pin-workspaces = true ; Create click handler used to focus workspace ; Default: true enable-click = true ; Create scroll handlers used to cycle workspaces ; Default: true enable-scroll = true ; Set the scroll cycle direction ; Default: true reverse-scroll = false label-focused = %name% label-focused-background = #3d3e3b ;label-focused-underline= ${colors.primary} ;label-focused-overline= ${colors.primary} label-focused-foreground = #8ae234 label-focused-padding = 2 label-occupied = %name% label-occupied-padding = 2 label-occupied-foreground = #e89a4e label-urgent = %name%! label-urgent-background = ${colors.alert} label-urgent-padding = 2 label-empty = %name% label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 ;---------------------------------------------------------- ; M P D ;---------------------------------------------------------- [module/mpd] type = internal/mpd format-online = label-song-maxlen = 25 label-song-ellipsis = true icon-prev = < icon-seekb = « icon-stop = <> icon-play = |> icon-pause = ll icon-next = > icon-seekf = » icon-random = ½ icon-repeat = O toggle-on-foreground = ${colors.primary} toggle-off-foreground = #66 ;---------------------------------------------------------- ; B A C K L I G H T ;---------------------------------------------------------- [module/backlight] type = internal/light format =