[global/wm] ;https://github.com/jaagr/polybar/wiki/Configuration#global-wm-settings margin-top = 0 margin-bottom = 0 [settings] ;https://github.com/jaagr/polybar/wiki/Configuration#application-settings throttle-output = 5 throttle-output-for = 10 throttle-input-for = 30 screenchange-reload = true compositing-background = over compositing-foreground = over compositing-overline = over compositing-underline = over compositing-border = over enable-ipc = true ; Define fallback values used by all module formats format-foreground = #FF0000 format-background = #00FF00 format-underline = format-overline = format-spacing = format-padding = format-margin = format-offset = [colors] ; My Scheme theme ============ ; D = Darker Color ; L = Lighter Color background = #2f3640 blackD = #434758 backgroundD = ${colors.blackD} foreground = #f5f6fa foregroundD = #2f3640 primary = #37b0ff primaryL1 = #60C0FF primaryL2 = #8DD2FE primaryD1 = #0EA0FF primaryD2 = #0282d8 secondary1 = #4466ff secondary1L1 = #6B85FF secondary1L2 = #95A8FE secondary1D1 = #1D45FF secondary2 = #2affb9 secondary2D1 = #00FFAB secondary2D3 = #00C282 alert = #e84118 volume-min = #a3be8c volume-med = #ebcb8b volume-max = #bf616a spotgreen = #44bd32 ; ======================= [bar/bspwm] ;monitor = ${env:MONITOR} ;monitor-fallback = HDMI1 width = 100% height = 28 ;offset-x = 1% ;offset-y = 1% radius = 0.0 fixed-center = true bottom = false separator = ;background = background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 wm-restack = bspwm override-redirect = true ; Enable support for inter-process messaging ; See the Messaging wiki page for more details. enable-ipc = true border-size = 0 ;border-left-size = 0 ;border-right-size = 25 ;border-top-size = 0 ;border-bottom-size = 25 border-color = #00000000 ;padding-left = ;padding-right = module-margin-left = 0 module-margin-right = 0 ;https://github.com/jaagr/polybar/wiki/Fonts font-0 = "UbuntuMono Nerd Font:size=10;2" font-1 = "UbuntuMono Nerd Font:size=16;3" font-2 = "Sarasa Term J:bold:size=9;2" font-3 = "Nimbus Sans:bold:size=9;2" font-4 = "Iosevka Nerd Font:bold:size=9;2" font-5 = "FontAwesome5Free:bold:style=solid:size=9;2" font-6 = "Nimbus Sans:bold:size=16;2" font-7 = "Iosevka Nerd Font:bold:style=solid:size=6;2" font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2" ; ---------------------------------------------------------------------------------------- modules-left = bspwm dividerS wirednetwork temp dividerS modules-center = date modules-right = dividerS player-mpris-tail player-mpris mpd volume battery dividerS prompt ; ---------------------------------------------------------------------------------------- tray-detached = false tray-offset-x = 0 tray-offset-y = 0 tray-position = left tray-padding = 2 tray-maxsize = 13 tray-scale = 1.0 tray-background = ${colors.background} scroll-up = bspwm-desknext scroll-down = bspwm-deskprev # ----- Module ----- [module/bspwm] type = internal/bspwm enable-click = true enable-scroll = true reverse-scroll = true pin-workspaces = true ;ws-icon-0 = 1; ;ws-icon-1 = 2; ;ws-icon-2 = 3;喇 ;ws-icon-3 = 4;ﱘ ;ws-icon-4 = 5; ;ws-icon-5 = 6; ;ws-icon-6 = 7; ;ws-icon-7 = 8; ;ws-icon-8 = 9; ;ws-icon-9 = 10; ws-icon-default = "ﱣ" format-font = 8 format = format-background = #434758 format-padding = 2 label-focused = %icon% ;label-focused-background = #434758 ;label-focused-underline= label-focused-padding = 2 label-focused-foreground = ${colors.primary} label-occupied = %icon% ;label-occupied-underline = #00a8ff label-occupied-padding = 2 ;label-occupied-background = #434758 label-urgent = %icon% label-urgent-padding = 2 label-empty = "ﱤ" ;label-empty = %icon% label-empty-foreground = #7f8fa6 label-empty-padding = 2 ;label-empty-underline = #7f8fa6 ;label-empty-background = #434758 label-monocle = "" label-monocle-padding = 2 ;label-monocle-background = #0097e6 label-monocle-foreground = ${colors.foreground} label-tiled = "" label-tiled-padding = 2 ;label-tiled-background = #0097e6 label-tiled-foreground = ${colors.foreground} label-fullscreen = "" label-fullscreen-padding = 2 ;label-fullscreen-background = #0097e6 label-fullscreen-foreground = ${colors.foreground} label-floating = "" label-floating-padding = 2 ;label-floating-background = #0097e6 label-floating-foreground = ${colors.foreground} label-pseudotiled = "" label-pseudotiled-padding = 2 ;label-pseudotiled-background = #0097e6 label-pseudotiled-foreground = ${colors.foreground} label-locked = "" label-locked-foreground = ${colors.foreground} label-sticky = "" label-sticky-foreground = ${colors.foreground} label-private = "" label-private-foreground = ${colors.foreground} ; Separator in between workspaces ;label-separator = | ;label-separator-padding = 10 ;label-separator-foreground = #ffb52a format-foreground = ${colors.foreground} ;format-background = ${colors.background} [module/dividerS] type = custom/text content = "." content-font = 3 content-background = ${colors.background} content-foreground = ${colors.background} content-padding = 0 [module/dividerL] type = custom/text content = ".." content-font = 3 content-background = ${colors.background} content-foreground = ${colors.background} content-padding = 0 # ----- XWindow ----- [module/xwindow] ;https://github.com/jaagr/polybar/wiki/Module:-xwindow type = internal/xwindow ; Available tokens: ; %title% ; Default: %title% label-font = 3 label = %title% label-maxlen = 50 format-prefix = "" format-foreground = ${colors.foreground} format-background = ${colors.background} # ----- Spotify ----- [module/spotify] ;https://github.com/NicholasFeldman/dotfiles/blob/master/polybar/.config/polybar/spotify.sh type = custom/script #exec = ~/.config/polybar/scripts/spotify.sh interval = 1 click-left = "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" ;format =