diff options
Diffstat (limited to '.config/polybar/config.ini')
| -rw-r--r-- | .config/polybar/config.ini | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini new file mode 100644 index 0000000..992c593 --- /dev/null +++ b/.config/polybar/config.ini @@ -0,0 +1,211 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +background = #282A2E +background-alt = #005577 +foreground = #eeeeee +primary = #F0C674 +secondary = #8ABEB7 +alert = #A54242 +disabled = #cccccc + +[bar/main] +monitor = HDMI-A-0 +width = 100% +height = 14pt + +; dpi = 96 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2pt + +border-size = 0pt +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin = 1 + +separator = | +separator-foreground = ${colors.disabled} + +font-0 = "Hack Nerd Font:size=9;1" +font-1 = "WenQuanYi Micro Hei Mono:size=9;1" + +modules-left = bspwm xwindow +modules-right = eth temperature memory cpu pulseaudio date systray + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + +[bar/secondary] +monitor = DisplayPort-2 +width = 100% +height = 14pt + +; dpi = 96 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2pt + +border-size = 0pt +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin = 1 + +separator = | +separator-foreground = ${colors.disabled} + +font-0 = "Hack Nerd Font:size=9;1" +font-1 = "WenQuanYi Micro Hei Mono:size=9;1" + +modules-left = bspwm xwindow +modules-right = eth temperature memory cpu pulseaudio date + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + +; wm-restack = generic +; wm-restack = bspwm +; wm-restack = i3 + +; override-redirect = true + +; This module is not active by default (to enable it, add it to one of the +; modules-* list above). +; Please note that only a single tray can exist at any time. If you launch +; multiple bars with this module, only a single one will show it, the others +; will produce a warning. Which bar gets the module is timing dependent and can +; be quite random. +; For more information, see the documentation page for this module: +; https://polybar.readthedocs.io/en/stable/user/modules/tray.html +[module/systray] +type = internal/tray + +format-margin = 8pt +tray-spacing = 16pt + +[module/xworkspaces] +type = internal/xworkspaces + +label-active = %name% +label-active-background = ${colors.background-alt} +label-active-underline= ${colors.primary} +label-active-padding = 1 + +label-occupied = %name% +label-occupied-padding = 1 + +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 1 + +label-empty = %name% +label-empty-foreground = ${colors.disabled} +label-empty-padding = 1 + +[module/xwindow] +type = internal/xwindow +label = %title:0:60:...% + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume-prefix = "vol: " +format-volume-prefix-foreground = ${colors.primary} +format-volume = <label-volume> + +label-volume = %percentage%% + +label-muted = muted +label-muted-foreground = ${colors.disabled} + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = "mem: " +format-prefix-foreground = ${colors.primary} +label = %used% / %total% (%percentage_used:2%%) + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = "cpu: " +format-prefix-foreground = ${colors.primary} +label = %percentage:2%% + +[network-base] +type = internal/network +interval = 5 +format-connected = <label-connected> +format-disconnected = <label-disconnected> +label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected + +[module/eth] +inherit = network-base +interface = br0 +interface-type = wired +label-connected = %{F#F0C674}E%{F-} %local_ip% + +[module/temperature] +type = internal/temperature +label = tea: %temperature-c% +interval = 2 +hwmon-path = /sys/class/hwmon/hwmon2/temp1_input +warn-temperature = 75 + +[module/bspwm] +type = internal/bspwm +pin-workspaces = true +label-dimmed = %name% +label-focused = %name% +label-urgent = %name% +label-empty = %name% +label-occupied = %name% +label-focused-foreground = ${colors.foreground} +label-focused-background = ${colors.background-alt} +label-separator = " " +label-separator-padding = 0 + +[module/date] +type = internal/date +interval = 1 + +date = %A, %F - %H:%M + +label = %date% +label-foreground = ${colors.foreground} + +[settings] +screenchange-reload = true +pseudo-transparency = true + +; vim:ft=dosini |
