2020-08-23 20:01:02 +02:00
|
|
|
;=====================================================
|
|
|
|
;
|
|
|
|
; To learn more about how to configure Polybar
|
|
|
|
; go to https://github.com/jaagr/polybar
|
|
|
|
;
|
|
|
|
; The README contains alot of information
|
|
|
|
; Themes : https://github.com/jaagr/dots/tree/master/.local/etc/themer/themes
|
|
|
|
; https://github.com/jaagr/polybar/wiki/
|
|
|
|
; https://github.com/jaagr/polybar/wiki/Configuration
|
|
|
|
; https://github.com/jaagr/polybar/wiki/Formatting
|
|
|
|
;
|
|
|
|
;=====================================================
|
|
|
|
|
|
|
|
|
|
|
|
include-file = /home/$USER/.config/polybar/colors.ini
|
|
|
|
|
|
|
|
include-file = /home/$USER/.config/polybar/modules/modules.ini
|
|
|
|
include-file = /home/$USER/.config/polybar/modules/i3.ini
|
|
|
|
include-file = /home/$USER/.config/polybar/modules/xwindow.ini
|
|
|
|
include-file = /home/$USER/.config/polybar/modules/date.ini
|
2020-09-09 21:04:36 +02:00
|
|
|
#include-file = /home/$USER/.config/polybar/modules/volume.ini
|
2020-08-27 19:33:17 +02:00
|
|
|
#include-file = /home/$USER/.config/polybar/modules/weather.ini
|
2020-08-23 20:21:46 +02:00
|
|
|
include-file = /home/$USER/.config/polybar/modules/battery.ini
|
2020-08-23 20:01:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
################################################################################
|
|
|
|
############ MAINBAR-I3 ############
|
|
|
|
################################################################################
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
[bar/mainbar-i3]
|
|
|
|
;https://github.com/jaagr/polybar/wiki/Configuration
|
|
|
|
|
|
|
|
monitor = ${env:MONITOR}
|
|
|
|
;monitor-fallback = HDMI1
|
|
|
|
monitor-strict = false
|
|
|
|
override-redirect = false
|
|
|
|
bottom = true
|
|
|
|
fixed-center = true
|
|
|
|
width = 100%
|
|
|
|
height = 25
|
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
radius = 0.0
|
|
|
|
line-size = 2
|
|
|
|
line-color = #000000
|
|
|
|
|
|
|
|
;https://github.com/jaagr/polybar/wiki/Fonts
|
|
|
|
font-0 = "Noto Sans:size=10;0"
|
|
|
|
font-1 = "FontAwesome:size=10;0"
|
|
|
|
font-2 = "Noto Sans:size=10;0"
|
|
|
|
font-3 = "Noto Sans Mono:size=10;0"
|
2020-11-23 21:29:52 +01:00
|
|
|
font-4 = Iosevka Nerd Font:style=Medium:size=16;3
|
2020-11-25 08:38:10 +01:00
|
|
|
font-5 = Iosevka:style=Regular:size=16;3
|
2020-08-23 20:01:02 +02:00
|
|
|
|
2020-11-23 21:29:52 +01:00
|
|
|
; Text Fonts
|
|
|
|
;font-0 = Iosevka Nerd Font:style=Medium:size=10;3
|
|
|
|
; Icons Fonts
|
|
|
|
;font-1 = icomoon\-feather:style=Medium:size=10;3
|
|
|
|
; Powerline Glyphs
|
|
|
|
;font-2 = Iosevka Nerd Font:style=Medium:size=16;3
|
|
|
|
; Larger font size for bar fill icons
|
|
|
|
;font-3 = Iosevka Nerd Font:style=Medium:size=12;3
|
|
|
|
; Smaller font size for shorter spaces
|
|
|
|
;font-4 = Iosevka Nerd Font:style=Medium:size=7;3
|
|
|
|
|
|
|
|
|
2020-11-24 08:13:22 +01:00
|
|
|
modules-left = full sysmenu full i3 full left-top right-bot full xwindow full left-top
|
2020-11-23 21:29:52 +01:00
|
|
|
modules-center =
|
2020-11-24 10:13:15 +01:00
|
|
|
modules-right = right-top full player-cmus full left-bot right-top full date battery full left-bot right-top
|
2020-08-23 20:01:02 +02:00
|
|
|
|
|
|
|
tray-detached = false
|
|
|
|
tray-offset-x = 0
|
|
|
|
tray-offset-y = 0
|
|
|
|
tray-padding = 2
|
2020-08-23 20:12:42 +02:00
|
|
|
tray-maxsize = 15
|
2020-08-23 20:01:02 +02:00
|
|
|
tray-scale = 1.0
|
|
|
|
tray-position = right
|
2020-11-23 21:29:52 +01:00
|
|
|
tray-background = ${colors.modbackground}
|
2020-08-23 20:01:02 +02:00
|
|
|
|
|
|
|
; 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 = i3wm-wsnext
|
|
|
|
scroll-down = i3wm-wsprev
|
|
|
|
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 =
|
|
|
|
cursor-scroll =
|
|
|
|
|
2020-11-23 21:29:52 +01:00
|
|
|
padding-left = 0
|
|
|
|
padding-right = 0
|
|
|
|
|
|
|
|
module-margin-left = 0
|
|
|
|
module-margin-right = 0
|
2020-08-23 20:01:02 +02:00
|
|
|
|
2020-11-23 21:29:52 +01:00
|
|
|
format-foreground = ${colors.foreground}
|
|
|
|
format-background = ${colors.background}
|