wm-logs/home/config/polybar/config.ini

81 lines
1.4 KiB
INI
Raw Normal View History

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-05 14:38:35 +08:00
;owm-restack = Xfwm4
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
2023-06-28 19:31:09 +08:00
2023-07-05 14:38:35 +08:00
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"
font-2 = "Symbols Nerd Font:size=15;4"
;font-3 = "DejaVu Sans:size=15;4"
2023-06-28 19:31:09 +08:00
fixed-center = true
2023-07-05 17:18:59 +08:00
modules-left = logo i3
2023-06-28 19:31:09 +08:00
modules-center = date
2023-07-05 17:18:59 +08:00
modules-right = netspeed volume space space hibernate space logout
2023-06-28 19:31:09 +08:00
tray-position = right
tray-maxsize = 16
2023-07-05 14:38:35 +08:00
tray-padding = 5
tray-detached = false
tray-background = ${color.background}
tray-scale = 1.0
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]
throttle-output = 5
throttle-output-for = 10
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
compositing-border = over