This commit is contained in:
Michael Grote 2021-06-04 20:55:39 +02:00
parent 6f7b6bd1be
commit 1679247cea

View file

@ -7,11 +7,14 @@
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
; ;
;
;========================================================== ;==========================================================
[colors] [colors]
;background = ${xrdb:color0:#222}
background = #222 background = #222
background-alt = #444 background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf foreground = #dfdfdf
foreground-alt = #555 foreground-alt = #555
primary = #ffb52a primary = #ffb52a
@ -22,6 +25,8 @@ alert = #bd2c40
;monitor = ${env:MONITOR:HDMI-1} ;monitor = ${env:MONITOR:HDMI-1}
width = 100% width = 100%
height = 27 height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0 radius = 6.0
fixed-center = false fixed-center = false
@ -44,9 +49,10 @@ font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1 font-2 = siji:pixelsize=10;1
modules-left = i3 modules-left = bspwm i3
modules-right = xbacklight alsa memory cpu wlan eth battery date powermenu modules-center = mpd
; modules-right = xbacklight alsa memory cpu wlan eth battery temperature date powermenu
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 2
;tray-background = #0063ff ;tray-background = #0063ff
@ -55,12 +61,43 @@ tray-padding = 2
;override-redirect = true ;override-redirect = true
;scroll-up = i3wm-wsnext ;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev ;scroll-down = i3wm-wsprev
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/i3] [module/i3]
type = internal/i3 type = internal/i3
format = <label-state> <label-mode> format = <label-state> <label-mode>
@ -99,23 +136,6 @@ label-urgent-padding = 2
; label-separator = | ; label-separator = |
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi] [module/backlight-acpi]
inherit = module/xbacklight inherit = module/xbacklight
type = internal/backlight type = internal/backlight
@ -124,16 +144,16 @@ card = intel_backlight
[module/cpu] [module/cpu]
type = internal/cpu type = internal/cpu
interval = 2 interval = 2
;;format.prefix = " " format-prefix = " "
;format.prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000 format-underline = #f90000
label = %percentage:2%% label = %percentage:2%%
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 2 interval = 2
;;format.prefix = " " format-prefix = " "
;format.prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc format-underline = #4bffdc
label = %percentage_used%% label = %percentage_used%%
@ -185,8 +205,8 @@ date-alt = " %Y-%m-%d"
time = %H:%M time = %H:%M
time-alt = %H:%M:%S time-alt = %H:%M:%S
;format.prefix =  format-prefix = 
;format.prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5 format-underline = #0a6cf5
label = %date% %time% label = %date% %time%