This commit is contained in:
2020-07-20 10:15:45 +09:00
parent be1c48c035
commit bf6886ca3b
17 changed files with 204 additions and 171 deletions

View File

@@ -18,14 +18,16 @@
[colors]
;background = ${xrdb:color0:#222}
background = #77222222
background-alt = #444
background = #cc000000
background-focused = #ccdd5555
background-label = #cc000000
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
foreground = #ccc
foreground-focused = #fff
foreground-alt = #ccc
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
secondary = #dd5555
alert = #ccbd2c40
[bar/mybar]
;monitor = ${env:MONITOR:HDMI-1}
@@ -52,63 +54,53 @@ padding-right = 0
module-margin-left = 1
module-margin-right = 2
font-0 = NanumBarunGothic:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-0 = TerminessTTF Nerd Font:size=10;1
font-1 = NanumBarunGothic:size=8;1
modules-left = bspwm
modules-left = logo bspwm
modules-center = xwindow
modules-right = pulseaudio wlan eth date
modules-right = mpd pulseaudio eth wlan battery date
tray-position = right
tray-padding = 2
tray-scale = 1.0
tray-maxsize = 32
;tray-detached = true
;tray-offset-x = -10
;tray-background = #0063ff
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/logo]
type = custom/text
content = "  Arch Linux"
content-foreground = ${colors.secondary}
click-left=rofi -show combi
[module/xwindow]
type = internal/xwindow
label = %title:0:100:...%
label = %title:0:50:...%
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused = "%name% "
label-focused-background = ${colors.background-focused}
label-focused-foreground = ${colors.foreground-focused}
# label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied = %name% :%index%
label-occupied-background = ${colors.background-label}
label-occupied-padding = 2
label-urgent = %index%!
label-urgent = %name% :%index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty = %name% :%index%
label-empty-background = ${colors.background-label}
label-empty-foreground = #888888
label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
[module/wlan]
type = internal/network
interface = wlp2s0
@@ -151,44 +143,59 @@ format-disconnected =
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
date = " %Y年%m月%d日 %A"
time = %H:%M
time-alt = %H:%M:%S
time = %{F#dd5555}%{F-} %H時%M
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
format-prefix = ""
format-prefix-foreground = ${colors.secondary}
#format-underline = ${colors.secondary}
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
format-volume = <ramp-volume> <label-volume>
#format-volume-underline = ${colors.secondary}
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted = muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
ramp-volume-0 =
ramp-volume-1 = 奔
ramp-volume-2 = 墳
ramp-volume-foreground = ${colors.secondary}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
label-charging = %percentage%%
label-discharging = %percentage%%
;label-full =
format-charging-prefix = " "
format-charging-prefix-foreground = ${colors.secondary}
format-charging = <label-charging>
#format-charging-underline = ${colors.secondary}
format-discharging = <ramp-capacity> <label-discharging>
#format-discharging-underline = ${self.format-charging-underline}
format-full = <ramp-capacity> <label-full>
;format-full-underline = ${colors.secondary}
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = " "
ramp-capacity-3 = " "
ramp-capacity-4 = " "
ramp-capacity-foreground = ${colors.secondary}
[settings]
screenchange-reload = true
@@ -199,7 +206,7 @@ screenchange-reload = true
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
margin-top = 0
margin-bottom = 0
; vim:ft=dosini