dwm: Add comments to config.cmake
Add documentation and comments to describe labels and formatting options.
This commit is contained in:
parent
3b430ee962
commit
871b9f8ba2
26
config.cmake
26
config.cmake
@ -170,29 +170,46 @@ label-urgent-padding = 2
|
|||||||
type = internal/dwm
|
type = internal/dwm
|
||||||
format = <label-tags> <label-layout> <label-floating> <label-title>
|
format = <label-tags> <label-layout> <label-floating> <label-title>
|
||||||
|
|
||||||
|
; Left-click to view tag, right-click to toggle tag view
|
||||||
enable-tags-click = false
|
enable-tags-click = false
|
||||||
|
; Left-click to set secondary layout, right-click to switch to previous layout
|
||||||
enable-layout-click = false
|
enable-layout-click = false
|
||||||
|
; Scroll to cycle between available layouts
|
||||||
enable-layout-scroll = false
|
enable-layout-scroll = false
|
||||||
|
; Wrap when scrolling and reaching begining/end of layouts
|
||||||
layout-scroll-wrap = false
|
layout-scroll-wrap = false
|
||||||
|
; Reverse scroll direction
|
||||||
layout-scroll-reverse = false
|
layout-scroll-reverse = false
|
||||||
|
|
||||||
; If enable-layout-click = true, clicking the layout symbol will switch to this layout
|
; If enable-layout-click = true, clicking the layout symbol will switch to this layout
|
||||||
secondary-layout-symbol = [M]
|
secondary-layout-symbol = [M]
|
||||||
|
|
||||||
; State
|
; Separator in between shown tags
|
||||||
; Available tokens:
|
; label-separator = |
|
||||||
; %name%
|
|
||||||
|
|
||||||
|
; Title of currently focused window
|
||||||
|
; Available tokens:
|
||||||
|
; %title%
|
||||||
label-title = %title%
|
label-title = %title%
|
||||||
label-title-padding = 2
|
label-title-padding = 2
|
||||||
label-title-forefround = ${colors.primary}
|
label-title-forefround = ${colors.primary}
|
||||||
label-title-maxlen = 30
|
label-title-maxlen = 30
|
||||||
|
|
||||||
|
; Symbol of current layout
|
||||||
|
; Available tokens:
|
||||||
|
; %symbol%
|
||||||
label-layout = %symbol%
|
label-layout = %symbol%
|
||||||
label-layout-padding = 2
|
label-layout-padding = 2
|
||||||
label-layout-foreground = #000
|
label-layout-foreground = #000
|
||||||
label-layout-background = ${colors.primary}
|
label-layout-background = ${colors.primary}
|
||||||
|
|
||||||
|
; Text to show when currently focused window is floating
|
||||||
|
label-floating = F
|
||||||
|
|
||||||
|
; States: focused, unfocused, visible, urgent, empty
|
||||||
|
; Available tokens:
|
||||||
|
; %name%
|
||||||
|
|
||||||
; focused = Active tag on focused monitor
|
; focused = Active tag on focused monitor
|
||||||
label-focused = %name%
|
label-focused = %name%
|
||||||
label-focused-background = ${colors.background-alt}
|
label-focused-background = ${colors.background-alt}
|
||||||
@ -220,9 +237,6 @@ label-empty = %name%
|
|||||||
label-empty-background = ${colors.primary}
|
label-empty-background = ${colors.primary}
|
||||||
label-empty-padding = 2
|
label-empty-padding = 2
|
||||||
|
|
||||||
; Separator in between workspaces
|
|
||||||
; label-separator = |
|
|
||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||||
|
Loading…
Reference in New Issue
Block a user