2018-02-27 21:07:50 +01:00
|
|
|
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
|
|
# Copyright (C) 2017-2018 Donovan Glover
|
2017-12-04 05:59:43 +01:00
|
|
|
|
2017-12-27 05:41:05 +01:00
|
|
|
[color]
|
2018-04-12 03:13:59 +02:00
|
|
|
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}
|
2017-12-27 05:41:05 +01:00
|
|
|
|
2017-12-04 05:59:43 +01:00
|
|
|
[bar/main]
|
2018-01-03 05:52:35 +01:00
|
|
|
modules-left = bspwm
|
2018-01-02 03:50:57 +01:00
|
|
|
modules-center = mpd
|
2017-12-04 05:59:43 +01:00
|
|
|
modules-right = cpu ram volume date time
|
|
|
|
|
|
|
|
monitor = VGA-1
|
2017-12-27 05:41:05 +01:00
|
|
|
foreground = ${color.text}
|
|
|
|
background = ${color.background}
|
2017-12-04 05:59:43 +01:00
|
|
|
font-0 = "Fira Mono:size=22"
|
|
|
|
font-1 = "Noto Sans CJK JP:size=22"
|
|
|
|
|
2018-03-07 05:42:48 +01:00
|
|
|
# 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
|
2018-04-12 03:13:59 +02:00
|
|
|
height = 85
|
2017-12-04 05:59:43 +01:00
|
|
|
padding-left = 2
|
|
|
|
padding-right = 2
|
|
|
|
module-margin = 1
|
2018-04-12 03:13:59 +02:00
|
|
|
border-color = 88FFFFFF
|
2018-03-07 05:42:48 +01:00
|
|
|
|
|
|
|
# Make the bar float
|
|
|
|
# NOTE: offset-x should be the same as window_gap in your bspwmrc
|
2018-04-12 03:13:59 +02:00
|
|
|
offset-x = 20
|
|
|
|
# NOTE: offset-y depends on window_gap as well; it's usually the same as offset-x
|
|
|
|
offset-y = 20
|
2018-03-07 05:42:48 +01:00
|
|
|
# NOTE: width = screen resolution - offset-x * 2
|
2018-04-12 03:13:59 +02:00
|
|
|
width = 3800
|
2018-03-07 05:42:48 +01:00
|
|
|
# NOTE: border-size should be the same as border_width in your bspwmrc
|
|
|
|
border-size = 3
|
|
|
|
|
2018-04-12 03:13:59 +02:00
|
|
|
line-size = 8
|
2017-12-04 05:59:43 +01:00
|
|
|
|
2018-08-31 20:19:52 +02:00
|
|
|
[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
|
|
|
|
|
2018-01-03 05:52:35 +01:00
|
|
|
[module/bspwm]
|
|
|
|
type = internal/bspwm
|
|
|
|
pin-workspaces = true
|
2017-12-04 05:59:43 +01:00
|
|
|
|
2018-04-12 03:13:59 +02:00
|
|
|
label-focused-foreground = ${color.green}
|
2017-12-27 05:41:05 +01:00
|
|
|
label-urgent-foreground = ${color.yellow}
|
2018-01-22 05:52:10 +01:00
|
|
|
label-occupied-foreground = ${color.text}
|
2018-03-07 05:42:48 +01:00
|
|
|
label-empty-foreground = ${color.background-alt}
|
2018-01-03 05:52:35 +01:00
|
|
|
label-focused-padding = 2
|
|
|
|
label-urgent-padding = 2
|
|
|
|
label-occupied-padding = 2
|
|
|
|
label-empty-padding = 2
|
2017-12-04 05:59:43 +01:00
|
|
|
|
2018-04-12 03:13:59 +02:00
|
|
|
label-focused-underline = ${color.green}
|
2018-03-07 05:42:48 +01:00
|
|
|
|
2017-12-04 05:59:43 +01:00
|
|
|
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%%
|
2018-04-12 03:13:59 +02:00
|
|
|
format-foreground = ${color.blue}
|
|
|
|
format-underline = ${color.blue}
|
2017-12-04 05:59:43 +01:00
|
|
|
|
|
|
|
[module/ram]
|
|
|
|
type = internal/memory
|
|
|
|
label = RAM: %gb_used%
|
2018-04-12 03:13:59 +02:00
|
|
|
format-foreground = ${color.cyan}
|
|
|
|
format-underline = ${color.cyan}
|
2017-12-04 05:59:43 +01:00
|
|
|
|
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
2017-12-16 05:50:34 +01:00
|
|
|
date = %d.%m.%y
|
|
|
|
#date = %B %d, %Y
|
2018-03-07 05:42:48 +01:00
|
|
|
#date = %A
|
2018-04-12 03:13:59 +02:00
|
|
|
format-foreground = ${color.yellow}
|
|
|
|
format-underline = ${color.yellow}
|
2017-12-04 05:59:43 +01:00
|
|
|
|
|
|
|
[module/time]
|
|
|
|
type = internal/date
|
|
|
|
date = %H:%M
|
2018-04-12 03:13:59 +02:00
|
|
|
format-foreground = ${color.magenta}
|
|
|
|
format-underline = ${color.magenta}
|
2017-12-04 05:59:43 +01:00
|
|
|
|
|
|
|
[module/battery]
|
|
|
|
type = internal/battery
|
|
|
|
battery = BAT0
|
|
|
|
adapter = AC
|
|
|
|
full-at = 98
|
|
|
|
label-full = %percentage%%
|
|
|
|
label-charging = %percentage%%
|
|
|
|
label-discharigng = %percentage%
|
|
|
|
|
2018-01-02 03:50:57 +01:00
|
|
|
[module/mpd]
|
|
|
|
type = internal/mpd
|
2018-04-12 03:13:59 +02:00
|
|
|
format-offline = No song is currently playing.
|
2018-03-07 05:42:48 +01:00
|
|
|
label-song-maxlen = 100
|
|
|
|
label-song-ellipsis = true
|
2018-04-12 03:13:59 +02:00
|
|
|
format-online = <label-song>
|
|
|
|
format-offline-foreground = ${color.cyan}
|
|
|
|
format-offline-underline = ${color.cyan}
|
|
|
|
format-online-foreground = ${color.cyan}
|
|
|
|
format-online-underline = ${color.cyan}
|
2017-12-04 05:59:43 +01:00
|
|
|
|
|
|
|
[module/volume]
|
|
|
|
type = internal/volume
|
|
|
|
label-volume = VOL: %percentage%%
|
2018-04-12 03:13:59 +02:00
|
|
|
format-volume-foreground = ${color.green}
|
|
|
|
format-volume-underline = ${color.green}
|
2017-12-04 05:59:43 +01:00
|
|
|
|
|
|
|
; vim:ft=dosini
|