Files
dots/laptop/.config/polybar/config
Marco Thomas 84372f4c4a Rename folder
2020-09-09 22:56:56 +02:00

100 lines
1.8 KiB
INI

# vim:ft=dosini
[colors]
background = #000000
foreground = ${xrdb:color7}
foreground-alt = ${xrdb:color8}
urgent = ${xrdb:color1}
[bar/main]
monitor = ${env:MONITOR}
font-0 = "FiraCode Nerd Font Mono:pixelsize=9;2"
font-1 = "IPAGothic:fontformat=truetype:antialias=false:pixelsize=9;2"
height = 27px
width = 100%
module-margin-right = 1
module-margin-left = 1
padding-left = 1
padding-right = 1
separator = /
modules-left = i3 xwindow
modules-right = spotify network volume backlight battery date
foreground = ${colors.foreground}
background = ${colors.background}
wm-name = i3
wm-restack = i3
[module/i3]
type = internal/i3
pin-workspaces = true
wrapping-scroll = false
format = <label-state> <label-mode>
ws-icon-0 = 1;一
ws-icon-1 = 2;二
ws-icon-2 = 3;三
ws-icon-3 = 4;四
ws-icon-4 = 5;五
ws-icon-5 = 6;六
ws-icon-6 = 7;七
ws-icon-7 = 8;八
ws-icon-8 = 9;九
ws-icon-9 = 10;十
ws-icon-default =
label-focused = "%icon%"
label-focused-padding = 1
label-unfocused = "%icon%"
label-unfocused-foreground = ${colors.foreground-alt}
label-unfocused-padding = 1
label-urgent = "%icon%"
label-urgent-foreground = ${colors.urgent}
label-urgent-padding = 1
[module/xwindow]
type = internal/xwindow
label = %title%
label-maxlen = 100
[module/date]
type = internal/date
date = %H:%M - %d.%m.%Y%
[module/backlight]
type = internal/backlight
#ls -1 /sys/class/backlight
card = amdgpu_bl0
label = brgt %percentage%%
[module/battery]
type = internal/battery
battery = BAT0
apdapter = ADP1
label-charging = bat %percentage%%
label-discharging = bat %percentage%%
label-full= bat %percentage%%
[module/volume]
type = internal/pulseaudio
label-volume = vol %percentage%%
label-muted = muted
[module/network]
type = internal/network
interface = wlo1
interval = 3.0
accumulate-stats = true
unknown-as-up = true
label-connected = %essid%