Add bars for i3

This commit is contained in:
Dominik V. Salonen 2018-10-14 18:41:00 +02:00
parent b88c4cfb38
commit 08aba6f240
1 changed files with 84 additions and 17 deletions

View File

@ -8,12 +8,12 @@
;=====================================================
[colors]
background = #222
background = #1a1a1a
background-alt = #444
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
primary = #ff5555
secondary = #ff5555
alert = #bd2c40
[bar/main]
@ -35,7 +35,7 @@ padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 2
module-margin-right = 1
font-0 = RobotoMono:pixelsize=18;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
@ -48,6 +48,73 @@ modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
cursor-click = pointer
cursor-scroll = ns-resize
[bar/i3]
width = 100%
height = 60
radius = 0
fixed-center = false
dpi = 192
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 4
line-color = #f00
border-left-size = 30
border-top-size = 30
border-right-size = 30
border-color = #00000000
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = RobotoMono:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=18;1
modules-left = workspaces xkeyboard volume xbacklight xwindow
modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
cursor-click = pointer
cursor-scroll = ns-resize
[bar/i3-ldpi]
width = 100%
height = 29
radius = 0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 2
line-color = #f00
border-left-size = 15
border-top-size = 15
border-right-size = 15
border-color = #00000000
padding-left = 2
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = Terminus:pixelsize=9;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=8;1
modules-left = workspaces xkeyboard volume xbacklight xwindow
modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
cursor-click = pointer
cursor-scroll = ns-resize
[module/workspaces]
type = internal/xworkspaces
@ -115,7 +182,7 @@ type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #44ff44
format-underline = #55ff55
label = %percentage_used:2%%
[module/wlan]
@ -124,7 +191,7 @@ interface = wlp3s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
format-connected-underline = #9999FF
format-connected-prefix = "WiFi"
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %essid:0:12:...%
@ -147,7 +214,7 @@ type = internal/network
interface = enp0s31f6
interval = 3.0
format-connected-underline = #55aa55
format-connected-underline = #55ff55
format-connected-prefix = "eth "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = Online
@ -159,7 +226,7 @@ type = internal/network
interface = enp0s20f0u4u2u1
interval = 3.0
format-connected-underline = #55aa55
format-connected-underline = #55ff55
format-connected-prefix = "eth "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = Online
@ -176,7 +243,7 @@ date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-underline = #0a6cf5
format-underline = #5555ff
label = %date% %time%
@ -192,12 +259,12 @@ format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 20
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-0 = #55ff55
bar-volume-foreground-1 = #55ff55
bar-volume-foreground-2 = #55ff55
bar-volume-foreground-3 = #55ff55
bar-volume-foreground-4 = #55ff55
bar-volume-foreground-5 = #ffff55
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
@ -215,7 +282,7 @@ adapter = AC
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-charging-underline = #ffff55
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${colors.foreground-alt}
@ -258,7 +325,7 @@ thermal-zone = 5
warn-temperature = 70
format = <ramp> <label>
format-underline = #f50a4d
format-underline = ${colors.primary}
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}