1
0
forked from extern/nix-config
donovanglover-nix-config/dots/bspwm/.config/polybar/config
Donovan Glover 22ef6af42f
Move dotfiles to the dots directory
Now that I've read the man pages for `stow` and actually know how to use
it properly, I can organize my repositiory by using a separate dots
directory specifically for my dotfiles.

Additionally, similar dotfiles are now grouped together. This means less
stow work for me with files that would otherwise only be used in one
environment (e.g. bspwm).

As much as one would like to show off browsing the internet with w3m,
such a setup is highly impractical for daily use. Remembering the
keybindings I set up was also becoming an issue, so I simply removed
them in favor of the defaults, assuming I ever need to use w3m at a
later date (probably not).
2018-09-06 14:07:35 -04:00

144 lines
3.5 KiB
INI

# New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover
[color]
background = ${xrdb:color0}
red = ${xrdb:color1}
green = ${xrdb:color2}
yellow = ${xrdb:color3}
blue = ${xrdb:color4}
magenta = ${xrdb:color5}
cyan = ${xrdb:color6}
text = ${xrdb:color7}
background-alt = ${xrdb:color8}
[bar/main]
modules-left = bspwm
modules-center = mpd
modules-right = cpu ram volume date time
monitor = VGA-1
foreground = ${color.text}
background = ${color.background}
font-0 = "Fira Mono:size=22"
font-1 = "Noto Sans CJK JP:size=22"
# NOTE: You may want to change height to 80 if you don't want float
# Also do a grep for 80 and change the other places as well
height = 85
padding-left = 2
padding-right = 2
module-margin = 1
border-color = 88FFFFFF
# Make the bar float
# NOTE: offset-x should be the same as window_gap in your bspwmrc
offset-x = 20
# NOTE: offset-y depends on window_gap as well; it's usually the same as offset-x
offset-y = 20
# NOTE: width = screen resolution - offset-x * 2
width = 3800
# NOTE: border-size should be the same as border_width in your bspwmrc
border-size = 3
line-size = 8
[bar/secondary]
modules-left = bspwm
modules-center = mpd
modules-right = cpu ram volume date time
monitor = VGA-1
foreground = ${color.text}
background = ${color.background}
font-0 = "Fira Mono:size=22"
font-1 = "Noto Sans CJK JP:size=22"
height = 80
padding-left = 2
padding-right = 2
module-margin = 1
border-color = ${color.background}
border-bottom-size = 0
line-size = 4
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
label-focused-foreground = ${color.green}
label-urgent-foreground = ${color.yellow}
label-occupied-foreground = ${color.text}
label-empty-foreground = ${color.background-alt}
label-focused-padding = 2
label-urgent-padding = 2
label-occupied-padding = 2
label-empty-padding = 2
label-focused-underline = ${color.green}
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;十
[module/cpu]
type = internal/cpu
label = CPU: %percentage%%
format-foreground = ${color.blue}
format-underline = ${color.blue}
[module/ram]
type = internal/memory
label = RAM: %gb_used%
format-foreground = ${color.cyan}
format-underline = ${color.cyan}
[module/date]
type = internal/date
date = %d.%m.%y
#date = %B %d, %Y
#date = %A
format-foreground = ${color.yellow}
format-underline = ${color.yellow}
[module/time]
type = internal/date
date = %H:%M
format-foreground = ${color.magenta}
format-underline = ${color.magenta}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
label-full = %percentage%%
label-charging = %percentage%%
label-discharigng = %percentage%
[module/mpd]
type = internal/mpd
format-offline = No song is currently playing.
label-song-maxlen = 100
label-song-ellipsis = true
format-online = <label-song>
format-offline-foreground = ${color.cyan}
format-offline-underline = ${color.cyan}
format-online-foreground = ${color.cyan}
format-online-underline = ${color.cyan}
[module/volume]
type = internal/volume
label-volume = VOL: %percentage%%
format-volume-foreground = ${color.green}
format-volume-underline = ${color.green}
; vim:ft=dosini