2023-07-06 17:19:01 +08:00
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
;; ------------------------------
|
|
|
|
|
|
|
|
[global/wm]
|
|
|
|
margin-top = 0
|
|
|
|
margin-bottom = 0
|
|
|
|
|
|
|
|
include-file = ./colors.ini
|
|
|
|
include-file = ./modules.ini
|
|
|
|
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
[bar/main]
|
2023-06-29 15:04:09 +08:00
|
|
|
;override-redirect = true
|
2023-07-07 15:31:10 +08:00
|
|
|
owm-restack = genery
|
2023-07-06 17:19:01 +08:00
|
|
|
;owm-restack = bspwm
|
2023-06-28 19:31:09 +08:00
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
;locale = zh_CN.UTF-8
|
2023-06-28 19:31:09 +08:00
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
background = ${color.background}
|
|
|
|
foreground = ${color.foreground}
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
|
2023-06-29 15:04:09 +08:00
|
|
|
width = 100%
|
2023-07-05 14:38:35 +08:00
|
|
|
height = 26
|
|
|
|
border-size = 6
|
|
|
|
border-color = ${color.background}
|
2023-06-29 15:04:09 +08:00
|
|
|
padding-left = 0
|
|
|
|
padding-right = 2
|
2023-06-28 19:31:09 +08:00
|
|
|
|
2023-06-29 15:04:09 +08:00
|
|
|
offset-x = 0
|
|
|
|
offset-y = 0
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
font-0 = "Raleway:size=11;3"
|
|
|
|
font-1 = "HarmonyOS Sans SC:size=11;3"
|
2023-07-06 17:19:01 +08:00
|
|
|
font-2 = "Material Icons:size=14;5"
|
|
|
|
font-3 = "Symbols Nerd Font:size=15;4"
|
2023-07-05 14:38:35 +08:00
|
|
|
;font-3 = "DejaVu Sans:size=15;4"
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
fixed-center = true
|
|
|
|
|
2023-07-06 17:19:01 +08:00
|
|
|
modules-left = logo workspace pipe-db mpd
|
2023-06-28 19:31:09 +08:00
|
|
|
modules-center = date
|
2023-07-08 15:17:03 +08:00
|
|
|
modules-right = netspeed pipe tray pipe volume power
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
|
2023-07-07 15:31:10 +08:00
|
|
|
pseudo-transparency = true
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
|
2023-07-08 15:17:03 +08:00
|
|
|
|
2023-06-28 19:31:09 +08:00
|
|
|
enable-ipc = true
|
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
; 可点击鼠标状态
|
|
|
|
cursor-click = pointer
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
;; 事件 Fallback
|
|
|
|
;; 当模块的事件没有定义时, 会fallback 到这里的
|
|
|
|
;click-left =
|
|
|
|
;click-middle =
|
|
|
|
;click-right =
|
|
|
|
;scroll-up = bspc desktop -f prev.local
|
|
|
|
;scroll-down = bspc desktop -f next.local
|
|
|
|
;double-click-left =
|
|
|
|
;double-click-middle =
|
|
|
|
;double-click-right =
|
2023-06-28 19:31:09 +08:00
|
|
|
|
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
[settings]
|
2023-06-28 19:31:09 +08:00
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
screenchange-reload = false
|
2023-06-28 19:31:09 +08:00
|
|
|
|
2023-07-05 14:38:35 +08:00
|
|
|
compositing-background = source
|
|
|
|
compositing-foreground = over
|
|
|
|
compositing-overline = over
|
|
|
|
compositing-underline = over
|
2023-07-08 15:17:03 +08:00
|
|
|
compositing-border = over
|
|
|
|
|
|
|
|
|
|
|
|
[module/tray]
|
|
|
|
type = internal/tray
|
|
|
|
|
|
|
|
tray-margin = 6
|
|
|
|
tray-position = adaptive
|
|
|
|
tray-padding = 4
|
|
|
|
tray-maxsize = 16
|
|
|
|
tray-detached = false
|
|
|
|
tray-background = ${color.background}
|
|
|
|
tray-scale = 1.0
|