mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-06 15:20:23 +00:00
b5b33afcd7
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
264 lines
5.3 KiB
Plaintext
264 lines
5.3 KiB
Plaintext
[colors]
|
|
background = ${xrdb:color0:#222}
|
|
foreground = ${xrdb:color7:#222}
|
|
foreground-alt = ${xrdb:color7:#222}
|
|
primary = ${xrdb:color1:#222}
|
|
secondary = ${xrdb:color2:#222}
|
|
alert = ${xrdb:color3:#222}
|
|
|
|
[bar/top]
|
|
monitor= eDP
|
|
width = 100%
|
|
height = 35
|
|
offset-x = 0
|
|
offset-y = -1
|
|
;bottom = true
|
|
|
|
background = ${colors.background}
|
|
foreground = ${colors.foreground}
|
|
|
|
underline-size = 2
|
|
underline-color = #eee
|
|
|
|
spacing = 1
|
|
module-margin-left = 0
|
|
module-margin-right = 0
|
|
|
|
font-0 = "SF Pro Display:style=regular:pixelsize=13;0"
|
|
font-1 = "Material Design Icons:style=Regular:pixelsize=13;1"
|
|
|
|
modules-left = bspwm
|
|
modules-center = player-mpris-tail
|
|
modules-right = battery pulseaudio date
|
|
|
|
tray-position = right
|
|
tray-padding = 2
|
|
tray-background = ${xrdb:color0:#222}
|
|
|
|
wm-restack = bspwm
|
|
|
|
scroll-up = bspwm-desknext
|
|
scroll-down = bspwm-deskprev
|
|
|
|
; MODULES
|
|
|
|
[module/network]
|
|
type = internal/network
|
|
interface = wlp1s0
|
|
format-connected = <ramp-signal>
|
|
ramp-signal-0 = 浪
|
|
ramp-signal-1 = 冷
|
|
ramp-signal-2 = 爛
|
|
ramp-signal-3 = 嵐
|
|
ramp-signal-4 = 襤
|
|
ramp-signal-5 = 蠟
|
|
|
|
[module/bspwm]
|
|
type = internal/bspwm
|
|
|
|
ws-icon-0 = web;
|
|
ws-icon-1 = term;
|
|
ws-icon-2 = chat;ﭕ
|
|
ws-icon-3 = mail;
|
|
ws-icon-4 = music;
|
|
ws-icon-default =
|
|
|
|
format = <label-state> <label-mode>
|
|
|
|
label-focused = %icon%
|
|
label-focused-background = #88000000
|
|
label-focused-underline= #ddd
|
|
label-focused-padding = 4
|
|
|
|
label-occupied = %icon%
|
|
label-occupied-padding = 4
|
|
|
|
label-urgent = %icon%
|
|
label-urgent-padding = 4
|
|
|
|
label-empty = %icon%
|
|
label-empty-foreground = #44ffffff
|
|
label-empty-padding = 4
|
|
|
|
[module/xwindow]
|
|
type = internal/xwindow
|
|
label = %title:0:120:...%
|
|
label-padding = 4
|
|
|
|
[module/weather]
|
|
type = custom/script
|
|
exec = weather-bar
|
|
tail = true
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
|
|
; Seconds to sleep between updates
|
|
interval = 1.0
|
|
|
|
; See "man date" for details on how to format the date string
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
date = " %a %Y-%m-%d"
|
|
|
|
; Optional time format
|
|
time = %H:%M
|
|
|
|
; if `date-alt` or `time-alt` is defined, clicking
|
|
; the module will toggle between formats
|
|
date-alt = %A, %d %B %Y
|
|
time-alt = %H:%M:%S
|
|
|
|
label = %date% %time%
|
|
format = <label>
|
|
;format-background = #5a000000
|
|
format-padding = 3
|
|
|
|
[module/padding]
|
|
type = custom/text
|
|
content =
|
|
content-foreground = #00000000
|
|
content-background = #55000000
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
|
|
full-at = 99
|
|
|
|
battery = BAT0
|
|
adapter = AC0
|
|
|
|
poll-interval = 5
|
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
format-full = <ramp-capacity> <label-full>
|
|
label-charging = %percentage%
|
|
label-discharging = %percentage%
|
|
label-full = %percentage%
|
|
format-charging-padding = 3
|
|
format-discharging-padding = 3
|
|
format-full-padding = 3
|
|
|
|
ramp-capacity-0 =
|
|
ramp-capacity-1 =
|
|
ramp-capacity-2 =
|
|
ramp-capacity-3 =
|
|
ramp-capacity-4 =
|
|
ramp-capacity-5 =
|
|
ramp-capacity-6 =
|
|
ramp-capacity-7 =
|
|
ramp-capacity-8 =
|
|
ramp-capacity-9 =
|
|
ramp-capacity-10 =
|
|
|
|
animation-charging-0 =
|
|
animation-charging-1 =
|
|
animation-charging-2 =
|
|
animation-charging-3 =
|
|
animation-charging-4 =
|
|
animation-charging-5 =
|
|
animation-charging-6 =
|
|
animation-charging-7 =
|
|
animation-charging-8 =
|
|
animation-charging-9 =
|
|
animation-charging-10 =
|
|
animation-charging-framerate = 750
|
|
|
|
[module/xbacklight]
|
|
type = internal/backlight
|
|
|
|
card = amdgpu_bl0
|
|
enable-scroll = true
|
|
|
|
format = <ramp> <label>
|
|
label = %percentage%
|
|
|
|
ramp-0 = 🌕
|
|
ramp-1 = 🌔
|
|
ramp-2 = 🌓
|
|
ramp-3 = 🌒
|
|
ramp-4 = 🌑
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
format-volume = <ramp-volume> <label-volume>
|
|
format-muted = <label-muted>
|
|
label-volume = %percentage%
|
|
label-muted = muted
|
|
label-muted-foreground = #aaa
|
|
format-volume-padding = 3
|
|
format-muted-padding = 3
|
|
|
|
ramp-volume-0 =
|
|
ramp-volume-1 =
|
|
ramp-volume-2 =
|
|
ramp-headphones-0 =
|
|
|
|
[module/powermenu]
|
|
type = custom/menu
|
|
|
|
label-open =
|
|
;label-open-background = #dd0000
|
|
;label-open-foreground = #fff
|
|
label-close = cancel
|
|
;label-close-background = #dd0000
|
|
;label-close-foreground = #fff
|
|
label-open-padding = 4
|
|
label-close-padding = 3
|
|
|
|
menu-0-0 = reboot
|
|
menu-0-0-exec = menu-open-1
|
|
menu-0-1 = power off
|
|
menu-0-1-exec = menu-open-2
|
|
menu-0-0-padding = 3
|
|
menu-0-1-padding = 3
|
|
|
|
menu-1-0 = reboot?
|
|
menu-1-0-exec = sudo reboot
|
|
menu-1-0-padding = 3
|
|
|
|
menu-2-0 = power off?
|
|
menu-2-0-exec = sudo poweroff
|
|
menu-2-0-padding = 3
|
|
|
|
[module/player-mpris-tail]
|
|
type = custom/script
|
|
exec = ~/Scripts/player-mpris-tail.py -f '{icon} {artist} - {title}'
|
|
tail = true
|
|
label = %output%
|
|
click-left = ~/Scripts/player-mpris-tail.py play-pause
|
|
click-right = ~/Scripts/player-mpris-tail.py next
|
|
click-middle = ~/Scripts/player-mpris-tail.py stop
|
|
|
|
; Seconds to sleep between progressbar/song timer sync
|
|
; Default: 1
|
|
interval = 2
|
|
|
|
; Available tags:
|
|
; <label-song> (default)
|
|
; <label-time>
|
|
; <bar-progress>
|
|
; <toggle> - gets replaced with <icon-(pause|play)>
|
|
; <toggle-stop> - gets replaced with <icon-(stop|play)>
|
|
; <icon-random>
|
|
; <icon-repeat>
|
|
; <icon-repeatone>
|
|
; <icon-prev>
|
|
; <icon-stop>
|
|
; <icon-play>
|
|
; <icon-pause>
|
|
; <icon-next>
|
|
; <icon-seekb>
|
|
; <icon-seekf>
|
|
format-online = <label-song>
|
|
|
|
; Available tokens:
|
|
; %artist%
|
|
; %album%
|
|
; %date%
|
|
; %title%
|
|
; Default: %artist% - %title%
|
|
label-song = %title%
|
|
format-online-padding = 3
|