visual update, clean code

master
bvn13 2020-12-16 14:32:58 +03:00
parent 4c6da81c7f
commit 61638dfbe9
1 changed files with 30 additions and 27 deletions

View File

@ -18,7 +18,8 @@ background-alt = #444
foreground = #dfdfdf foreground = #dfdfdf
foreground-alt = #55 foreground-alt = #55
primary = #ffb52a primary = #ffb52a
secondary = #e60053 secondary = #b37504
red = #e60053
alert = #bd2c40 alert = #bd2c40
[global/wm] [global/wm]
@ -27,7 +28,7 @@ margin-bottom = 5
[bar/mybar] [bar/mybar]
bottom = false bottom = false
separator = "" separator = "|"
;monitor = ${env:MONITOR:HDMI-1} ;monitor = ${env:MONITOR:HDMI-1}
width = 100% width = 100%
@ -35,7 +36,6 @@ height = 27
offset-x = 0 offset-x = 0
offset-y = 0 offset-y = 0
;background = ${xrdb:color9}
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
@ -68,7 +68,7 @@ font-12 = Symbola:style=Regular
modules-left = suspend-control i3 xwindow modules-left = suspend-control i3 xwindow
modules-center = modules-center =
modules-right = zoom-audio xbacklight-acpi volume xkeyboard memory cpu wlan battery temperature date powermenu modules-right = zoom-audio xbacklight-acpi volume xkeyboard memory cpu wlan battery date powermenu
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 2
@ -95,11 +95,11 @@ label = %title:0:30:...%
type = internal/xkeyboard type = internal/xkeyboard
blacklist-0 = num lock blacklist-0 = num lock
label-layout = %{F#55}%{F-} %layout% label-layout = %{F#55}%{F-} %layout%
label-layout-underline = ${colors.secondary} label-layout-underline = ${colors.red}
label-indicator-padding = 2 label-indicator-padding = 2
label-indicator-margin = 1 label-indicator-margin = 1
label-indicator-background = ${colors.secondary} label-indicator-background = ${colors.red}
label-indicator-underline = ${colors.secondary} label-indicator-underline = ${colors.red}
[module/filesystem] [module/filesystem]
type = internal/fs type = internal/fs
@ -146,28 +146,31 @@ label-mode-padding = 2
label-mode-foreground = #000 label-mode-foreground = #000
label-mode-background = ${colors.primary} label-mode-background = ${colors.primary}
label-focused = %name% label-focused = [ %name%.%icon% ]
label-focused-background = ${module/bspwm.label-focused-background} label-focused-background = ${colors.background-alt}
label-focused-underline = ${module/bspwm.label-focused-underline} label-focused-underline = ${colors.primary}
label-focused-padding = ${module/bspwm.label-focused-padding} label-focused-padding = 2
label-unfocused = %name% label-visible = %name%.%icon%
label-unfocused-padding = ${module/bspwm.label-occupied-padding}
label-urgent = %name%!
label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-padding = ${module/bspwm.label-urgent-padding}
label-visible = %name%
label-visible-background = ${self.label-focused-background} label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline} label-visible-underline = ${colors.secondary}
label-visible-padding = ${self.label-focused-padding} label-visible-padding = 2
ws-icon-0 = "1;WWW" label-unfocused = %name%.%icon%
label-unfocused-padding = 2
label-urgent = %name%.%icon%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
ws-icon-0 = "1;Web"
ws-icon-1 = "2;Slack" ws-icon-1 = "2;Slack"
ws-icon-2 = "3;Tg" ws-icon-2 = "3;Tg"
ws-icon-3 = "4;" ws-icon-3 = "6;Web"
ws-icon-default = k ws-icon-4 = "7;IDEA"
ws-icon-5 = "0;Sql"
ws-icon-6 = "8;Term"
ws-icon-default =
[module/mpd] [module/mpd]
type = internal/mpd type = internal/mpd
@ -359,7 +362,7 @@ format-warn-underline = ${self.format-underline}
label = %temperature-c% label = %temperature-c%
label-warn = %temperature-c% label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary} label-warn-foreground = ${colors.red}
ramp-0 =  ramp-0 = 
ramp-1 =  ramp-1 = 
@ -372,9 +375,9 @@ type = custom/menu
format-spacing = 1 format-spacing = 1
label-open = ⏻ power label-open = ⏻ power
label-open-foreground = ${colors.secondary} label-open-foreground = ${colors.red}
label-close = ⏻ cancel label-close = ⏻ cancel
label-close-foreground = ${colors.secondary} label-close-foreground = ${colors.red}
label-separator = | label-separator = |
label-separator-foreground = ${colors.foreground-alt} label-separator-foreground = ${colors.foreground-alt}