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
|
2021-01-30 14:06:01 +01:00
|
|
|
include-file = /home/$USER/.config/polybar/modules/updates.ini
|
2020-08-23 20:01:02 +02:00
|
|
|
include-file = /home/$USER/.config/polybar/modules/xwindow.ini
|
|
|
|
include-file = /home/$USER/.config/polybar/modules/date.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
|
|
|
|
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
|
|
|
|
|
2023-05-30 16:46:01 +02:00
|
|
|
;per-device dpi insert
|
|
|
|
|
2020-08-23 20:01:02 +02:00
|
|
|
monitor = ${env:MONITOR}
|
|
|
|
monitor-strict = false
|
|
|
|
override-redirect = false
|
|
|
|
bottom = true
|
|
|
|
fixed-center = true
|
|
|
|
width = 100%
|
2023-05-30 16:46:24 +02:00
|
|
|
height = 2%
|
2020-08-23 20:01:02 +02:00
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
radius = 0.0
|
|
|
|
line-size = 2
|
|
|
|
line-color = #000000
|
|
|
|
|
|
|
|
;https://github.com/jaagr/polybar/wiki/Fonts
|
2023-05-30 16:46:43 +02:00
|
|
|
font-0 = Noto Sans:size=10;0
|
|
|
|
font-1 = FontAwesome:size=10;0
|
|
|
|
font-2 = Noto Sans CJK JP: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
|
|
|
|
2021-03-01 21:09:02 +01:00
|
|
|
modules-left = full sysmenu full i3 full xwindow full
|
|
|
|
modules-center = full date full
|
2021-06-11 16:10:06 +02:00
|
|
|
modules-right = full player-mpris-tail full battery full updates-pacman-aurhelper full dunst-notification-display full
|
2020-11-23 21:29:52 +01:00
|
|
|
|
2020-08-23 20:01:02 +02:00
|
|
|
tray-detached = false
|
|
|
|
tray-offset-x = 0
|
|
|
|
tray-offset-y = 0
|
|
|
|
tray-padding = 2
|
2020-11-27 10:51:03 +01:00
|
|
|
tray-maxsize = 12
|
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}
|