configs/arch-config/.config/polybar/i3config.ini
2021-03-01 21:09:02 +01:00

134 lines
4.2 KiB
INI
Executable File

;=====================================================
;
; 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/updates.ini
include-file = /home/$USER/.config/polybar/modules/xwindow.ini
include-file = /home/$USER/.config/polybar/modules/date.ini
#include-file = /home/$USER/.config/polybar/modules/volume.ini
#include-file = /home/$USER/.config/polybar/modules/weather.ini
include-file = /home/$USER/.config/polybar/modules/battery.ini
[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 = 20
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"
font-4 = Iosevka Nerd Font:style=Medium:size=16;3
font-5 = Iosevka:style=Regular:size=16;3
; 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
modules-left = full sysmenu full i3 full xwindow full
modules-center = full date full
modules-right = full player-mpris-tail full battery full updates-pacman-aurhelper full
;modules-left = full sysmenu full i3 full left-top right-bot full xwindow full left-top
;modules-center = right-bot full date full left-bot
;modules-right = right-top full player-mpris-tail full left-bot right-top full battery full left-bot right-top full updates-pacman-aurhelper full left-bot right-top
tray-detached = false
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 2
tray-maxsize = 12
tray-scale = 1.0
tray-position = right
tray-background = ${colors.modbackground}
; 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 =
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
format-foreground = ${colors.foreground}
format-background = ${colors.background}