nixos/home/desktop/config/polybar/polybar.ini

230 lines
5.4 KiB
INI
Raw Normal View History

2023-04-05 22:30:11 +01:00
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
base = #24273a
mantle = #1e2030
crust = #181926
text = #cad3f5
subtext0 = #a5adcb
subtext1 = #b8c0e0
surface0 = #363a4f
surface1 = #494d64
surface2 = #5b6078
overlay0 = #6e738d
overlay1 = #8087a2
overlay2 = #939ab7
blue = #8aadf4
lavender = #b7bdf8
sapphire = #7dc4e4
sky = #91d7e3
teal = #8bd5ca
green = #a6da95
yellow = #eed49f
peach = #f5a97f
maroon = #ee99a0
red = #ed8796
mauve = #c6a0f6
pink = #f5bde6
flamingo = #f0c6c6
rosewater = #f4dbd6
transparent = #00000000
background = ${colors.base}
background-alt = ${colors.crust}
foreground = ${colors.text}
primary = ${colors.lavender}
secondary = ${colors.mauve}
alert = ${colors.red}
disabled = ${colors.surface0}
[common]
2023-04-05 22:30:11 +01:00
height = 24pt
radius = 6
dpi = 0
font-0 = FiraCode Nerd Font;size=12
font-1 = Noto Sans;size=12
line-size = 3pt
2023-04-05 22:30:11 +01:00
background = ${colors.background}
foreground = ${colors.foreground}
padding = 1
2023-04-05 22:30:11 +01:00
module-margin = 1
border-size = 4pt
border-color = ${colors.background}
wm-restack = generic
override-redirect = false
2023-04-05 22:30:11 +01:00
separator = |
separator-foreground = ${colors.disabled}
enable-ipc = true
2023-04-05 22:30:11 +01:00
[settings]
screenchange-reload = true
pseudo-transparency = false
2023-04-05 22:30:11 +01:00
[bar/main]
inherit = common
width = 100%
2023-04-05 22:30:11 +01:00
modules-left = launcher time date cpu memory
modules-center = xworkspaces
modules-right = pulseaudio wlan eth backlight battery power-menu
2023-04-05 22:30:11 +01:00
[module/launcher]
type = custom/text
content = " "
click-left = "rofi -show drun &"
2023-04-05 22:30:11 +01:00
[module/power-menu]
type = custom/text
content = " "
click-left = "powermenu"
2023-04-05 22:30:11 +01:00
[module/xworkspaces]
type = internal/xworkspaces
2023-07-04 15:55:25 +01:00
icon-0 = "main;[a] 󰟀 "
icon-1 = "dev;[s] 󰅴 "
icon-2 = "browser;[d] 󰈹 "
icon-3 = "files;[f] 󰝰 "
icon-4 = "chat;[u] 󰭹 "
icon-5 = "remote;[i]  "
icon-6 = "steam;[o] 󰓓 "
icon-7 = "misc;[p] 󰣙 "
icon-default = "󰣘 "
label-active = %icon%
2023-04-05 22:30:11 +01:00
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1
label-occupied = %icon%
2023-04-05 22:30:11 +01:00
label-occupied-padding = 1
label-urgent = %icon%
2023-04-05 22:30:11 +01:00
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %icon%
2023-04-05 22:30:11 +01:00
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1
[module/memory]
type = internal/memory
interval = 2
format-prefix = "󰍛 "
2023-04-05 22:30:11 +01:00
format-prefix-foreground = ${colors.primary}
label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "󰻠 "
2023-04-05 22:30:11 +01:00
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = "󰖩 %essid%"
label-disconnected = "󰖪 "
2023-04-05 22:30:11 +01:00
[module/eth]
inherit = network-base
interface-type = wired
label-connected = "󰈁 "
label-disconnected = "󰈂 "
2023-04-05 22:30:11 +01:00
[module/date]
type = internal/date
interval = 3600
date = %A %Y-%m-%d
2023-04-05 22:30:11 +01:00
label = %date%
label-foreground = ${colors.primary}
[module/time]
type = internal/date
interval = 30
time = %R
label = %time%
label-foreground = ${colors.primary}
[module/backlight]
type = internal/backlight
card = intel_backlight
format = <ramp> <label>
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
ramp-5 =
ramp-6 =
ramp-7 =
ramp-8 =
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <label-full>
format-low = <animation-low> <label-low>
label-charging = %percentage%% %time% %consumption%W
label-discharging = %percentage%% %time% %consumption%W
label-full = 󱟢
label-low = %percentage%% %time%
ramp-capacity-0 = 󰁺
ramp-capacity-1 = 󰁻
ramp-capacity-2 = 󰁼
ramp-capacity-3 = 󰁽
ramp-capacity-4 = 󰁾
ramp-capacity-5 = 󰁿
ramp-capacity-6 = 󰂀
ramp-capacity-7 = 󰂁
ramp-capacity-8 = 󰂂
ramp-capacity-9 = 󰁹
animation-low-0 = 󰂎
animation-low-1 = 󰂃
animation-low-framerate = 200
animation-charging-0 = 󰢜
animation-charging-1 = 󰂆
animation-charging-2 = 󰂇
animation-charging-3 = 󰂈
animation-charging-4 = 󰢝
animation-charging-5 = 󰂉
animation-charging-6 = 󰢞
animation-charging-7 = 󰂊
animation-charging-8 = 󰂋
animation-charging-9 = 󰂅
animation-charging-framerate = 750
2023-04-05 22:30:11 +01:00
; vim:ft=dosini