mirror of
https://github.com/StepanovPlaton/dotfiles.git
synced 2026-04-03 20:30:46 +04:00
107 lines
2.1 KiB
INI
107 lines
2.1 KiB
INI
[colors]
|
|
background = ${xrdb:color0:#222}
|
|
foreground = ${xrdb:color7:#222}
|
|
primary = ${xrdb:color2:#222}
|
|
secondary = ${xrdb:color5:#222}
|
|
alert = ${xrdb:color1:#222}
|
|
disabled = ${xrdb:color4:#222}
|
|
|
|
[bar/top_bar]
|
|
width = 100%
|
|
height = 20px
|
|
radius = 5
|
|
|
|
background = ${colors.background}
|
|
foreground = ${colors.foreground}
|
|
|
|
line-size = 5pt
|
|
|
|
border-size = 5px
|
|
border-color = #00000000
|
|
|
|
padding-left = 1
|
|
padding-right = 1
|
|
|
|
module-margin = 1
|
|
|
|
font-0 = CodeNewRoman Nerd Font Mono:pixelsize=10;3
|
|
|
|
modules-left = xworkspaces
|
|
modules-right = pulseaudio xkeyboard date numen systray
|
|
|
|
cursor-click = pointer
|
|
cursor-scroll = ns-resize
|
|
|
|
enable-ipc = true
|
|
|
|
wm-restack = bspwm
|
|
|
|
[module/xworkspaces]
|
|
type = internal/xworkspaces
|
|
|
|
label-active =
|
|
label-active-foreground = ${colors.primary}
|
|
label-active-background = ${colors.background}
|
|
; label-active-underline = ${colors.primary}
|
|
label-active-padding = 1
|
|
|
|
label-occupied =
|
|
label-occupied-foreground = ${colors.secondary}
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent =
|
|
label-urgent-foreground = ${colors.alert}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty =
|
|
label-empty-foreground = ${colors.foreground}
|
|
label-empty-padding = 1
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
format-volume = <label-volume>
|
|
label-muted = 0%
|
|
label-muted-foreground = ${colors.disabled}
|
|
interval = 1
|
|
use-ui-max = false
|
|
click-right = /bin/bash -c "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
|
|
label-layout = %layout%
|
|
label-layout-foreground = ${colors.foreground}
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1
|
|
|
|
date = %H:%M
|
|
date-alt = %Y-%m-%d %H:%M:%S
|
|
|
|
label = %date%
|
|
label-foreground = ${colors.primary}
|
|
|
|
[module/systray]
|
|
type = internal/tray
|
|
|
|
format-margin = 0pt
|
|
tray-spacing = 2pt
|
|
|
|
[module/numen]
|
|
type = custom/script
|
|
exec = [[ $(pgrep numen) ]] && cat ~/.config/numen/current_mode || echo ""
|
|
interval = 1
|
|
click-left = pkill numen
|
|
|
|
; [module/weather]
|
|
; type = custom/script
|
|
; exec = curl -s -H "Accept-Language: ru" wttr.in/Samara?format="%c+%t+%m"
|
|
; interval = 1
|
|
|
|
[settings]
|
|
screenchange-reload = true
|
|
pseudo-transparency = true
|
|
|
|
; vim:ft=dosini
|