diff --git a/personal.conf.yaml b/personal.conf.yaml index 31787ff..e3a6254 100644 --- a/personal.conf.yaml +++ b/personal.conf.yaml @@ -1,6 +1,7 @@ - link: ~/.config/i3: i3/ ~/.config/pianobar: pianobar/ + ~/.config/polybar: polybar/ ~/.config/qutebrowser: qutebrowser/ ~/.mbsyncrc: isync/.mbsyncrc ~/.mutt: mutt/ diff --git a/polybar/config b/polybar/config new file mode 100644 index 0000000..c14131a --- /dev/null +++ b/polybar/config @@ -0,0 +1,139 @@ +[colors] +background = #222 +background-alt = #444 +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/eDP1] +inherit = mixins/bar +monitor = eDP1 + +[bar/DP2-1] +inherit = mixins/bar +monitor = DP2-1 + +[bar/DP2-2] +inherit = mixins/bar +monitor = DP2-2 + +[mixins/bar] +bottom = true +fixed-center = false + +width = 100% +height = 24 +offset-x = 0 +offset-y = 0 + +background = ${colors.background} +foreground = ${colors.foreground} + +radius = 0 + +line-size = 1 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding = 0 + +module-margin = 1 + +font-0 = NotoSans-Regular:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = i3 +modules-center = +modules-right = wlan volume battery date + +[global/wm] +margin-bottom = 0 + +[settings] +screenchange-reload = true + +[module/i3] +type = internal/i3 + +pin-workspaces = true +enable-click = false +enable-scroll = false + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-unfocused = %index% +label-unfocused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +[module/wlan] +type = internal/network +interface = wlp3s0 + +format-connected = +format-connected-underline = #9f78e1 +label-connected = %essid% %local_ip% + +format-disconnected = + +[module/eth] +type = internal/network +interface = enp0s25 + +format-connected-underline = #55aa55 +label-connected = %local_ip% + +format-disconnected = + +[module/date] +type = internal/date +interval = 1 + +date = %a %b %d +time = %H:%M:%S + +format-underline = #0a6cf5 + +label = %date% %time% + +[module/volume] +type = internal/volume + +format-volume = +label-volume = Vol: %percentage%% +label-volume-foreground = ${root.foreground} + +label-muted = Vol: %percentage%- + +[module/battery] +type = internal/battery +battery = BAT0 +adapter = AC + +full-at = 99 + +format-charging = +format-charging-underline = #ffb52a + +format-discharging = +format-discharging-underline = ${self.format-charging-underline} + +format-full-prefix-foreground = ${colors.foreground-alt} +format-full-underline = ${self.format-charging-underline}