Setup workspace display for polybar
This commit is contained in:
parent
04ae63db65
commit
0f582c9bb3
@ -16,6 +16,7 @@
|
||||
bg = #263238
|
||||
fg = #DFDFDF
|
||||
ac = #00BCD4
|
||||
sbg = #004a54
|
||||
|
||||
;; Bars
|
||||
bi = #00BCD4
|
||||
|
@ -516,8 +516,8 @@ label-unmounted = %mountpoint%: not mounted
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
;;[module/i3]
|
||||
;;type = internal/i3
|
||||
[module/workspaces]
|
||||
type = internal/i3
|
||||
|
||||
; Only show workspaces defined on the same output as the bar
|
||||
;
|
||||
@ -525,62 +525,62 @@ label-unmounted = %mountpoint%: not mounted
|
||||
; on different bars
|
||||
;
|
||||
; Default: false
|
||||
;;pin-workspaces = true
|
||||
pin-workspaces = true
|
||||
|
||||
; This will split the workspace name on ':'
|
||||
; Default: false
|
||||
;;strip-wsnumbers = true
|
||||
strip-wsnumbers = true
|
||||
|
||||
; Sort the workspaces by index instead of the default
|
||||
; sorting that groups the workspaces by output
|
||||
; Default: false
|
||||
;;index-sort = true
|
||||
index-sort = true
|
||||
|
||||
; Create click handler used to focus workspace
|
||||
; Default: true
|
||||
;;enable-click = false
|
||||
enable-click = false
|
||||
|
||||
; Create scroll handlers used to cycle workspaces
|
||||
; Default: true
|
||||
;;enable-scroll = false
|
||||
enable-scroll = false
|
||||
|
||||
; Wrap around when reaching the first/last workspace
|
||||
; Default: true
|
||||
;;wrapping-scroll = false
|
||||
wrapping-scroll = false
|
||||
|
||||
; Set the scroll cycle direction
|
||||
; Default: true
|
||||
;;reverse-scroll = false
|
||||
reverse-scroll = false
|
||||
|
||||
; Use fuzzy (partial) matching on labels when assigning
|
||||
; icons to workspaces
|
||||
; Example: code;♚ will apply the icon to all workspaces
|
||||
; containing 'code' in the label
|
||||
; Default: false
|
||||
;;fuzzy-match = true
|
||||
fuzzy-match = true
|
||||
|
||||
; ws-icon-[0-9]+ = label;icon
|
||||
; NOTE: The label needs to match the name of the i3 workspace
|
||||
;;ws-icon-0 = 1;♚
|
||||
;;ws-icon-1 = 2;♛
|
||||
;;ws-icon-2 = 3;♜
|
||||
;;ws-icon-3 = 4;♝
|
||||
;;ws-icon-4 = 5;♞
|
||||
;;ws-icon-default = ♟
|
||||
ws-icon-0 = 1;♚
|
||||
ws-icon-1 = 2;♛
|
||||
ws-icon-2 = 3;♜
|
||||
ws-icon-3 = 4;♝
|
||||
ws-icon-4 = 5;♞
|
||||
ws-icon-default = ♟
|
||||
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
|
||||
; you must also define a ws-icon-5.
|
||||
|
||||
; Available tags:
|
||||
; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
|
||||
; <label-mode> (default)
|
||||
;;format = <label-state> <label-mode>
|
||||
format = <label-state> <label-mode>
|
||||
|
||||
; Available tokens:
|
||||
; %mode%
|
||||
; Default: %mode%
|
||||
;;label-mode = %mode%
|
||||
;;label-mode-padding = 2
|
||||
;;label-mode-background = #e60053
|
||||
label-mode = %mode%
|
||||
label-mode-padding = 2
|
||||
label-mode-background = #e60053
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
@ -588,11 +588,11 @@ label-unmounted = %mountpoint%: not mounted
|
||||
; %index%
|
||||
; %output%
|
||||
; Default: %icon% %name%
|
||||
;;label-focused = %index%
|
||||
;;label-focused-foreground = #ffffff
|
||||
;;label-focused-background = #3f3f3f
|
||||
;;label-focused-underline = #fba922
|
||||
;;label-focused-padding = 4
|
||||
label-focused = %index%
|
||||
label-focused-foreground = #ffffff
|
||||
label-focused-background = ${color.sbg}
|
||||
label-focused-underline = ${color.ac}
|
||||
label-focused-padding = 4
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
@ -600,8 +600,8 @@ label-unmounted = %mountpoint%: not mounted
|
||||
; %index%
|
||||
; %output%
|
||||
; Default: %icon% %name%
|
||||
;;label-unfocused = %index%
|
||||
;;label-unfocused-padding = 4
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = 4
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
@ -609,9 +609,9 @@ label-unmounted = %mountpoint%: not mounted
|
||||
; %index%
|
||||
; %output%
|
||||
; Default: %icon% %name%
|
||||
;;label-visible = %index%
|
||||
;;label-visible-underline = #555555
|
||||
;;label-visible-padding = 4
|
||||
label-visible = %index%
|
||||
label-visible-underline = #555555
|
||||
label-visible-padding = 4
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
@ -619,15 +619,15 @@ label-unmounted = %mountpoint%: not mounted
|
||||
; %index%
|
||||
; %output%
|
||||
; Default: %icon% %name%
|
||||
;;label-urgent = %index%
|
||||
;;label-urgent-foreground = #000000
|
||||
;;label-urgent-background = #bd2c40
|
||||
;;label-urgent-padding = 4
|
||||
label-urgent = %index%
|
||||
label-urgent-foreground = #000000
|
||||
label-urgent-background = #bd2c40
|
||||
label-urgent-padding = 4
|
||||
|
||||
; Separator in between workspaces
|
||||
;;label-separator = |
|
||||
;;label-separator-padding = 2
|
||||
;;label-separator-foreground = #ffb52a
|
||||
label-separator = |
|
||||
label-separator-padding = 2
|
||||
label-separator-foreground = ${color.ac}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@ -1053,88 +1053,88 @@ label-maxlen = 30
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/workspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
; Only show workspaces defined on the same output as the bar
|
||||
;[module/workspaces]
|
||||
;type = internal/xworkspaces
|
||||
;
|
||||
; Useful if you want to show monitor specific workspaces
|
||||
; on different bars
|
||||
;; Only show workspaces defined on the same output as the bar
|
||||
;;
|
||||
;; Useful if you want to show monitor specific workspaces
|
||||
;; on different bars
|
||||
;;
|
||||
;; Default: false
|
||||
;pin-workspaces = true
|
||||
;
|
||||
; Default: false
|
||||
pin-workspaces = true
|
||||
|
||||
; Create click handler used to focus desktop
|
||||
; Default: true
|
||||
enable-click = true
|
||||
|
||||
; Create scroll handlers used to cycle desktops
|
||||
; Default: true
|
||||
enable-scroll = true
|
||||
|
||||
; icon-[0-9]+ = <desktop-name>;<icon>
|
||||
; NOTE: The desktop name needs to match the name configured by the WM
|
||||
; You can get a list of the defined desktops using:
|
||||
; $ xprop -root _NET_DESKTOP_NAMES
|
||||
icon-0 = TTY;
|
||||
icon-1 = WEB;
|
||||
icon-2 = LAB;
|
||||
icon-3 = MED;
|
||||
;icon-4 = 5;
|
||||
icon-default =
|
||||
|
||||
; Available tags:
|
||||
; <label-monitor>
|
||||
; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
|
||||
; Default: <label-state>
|
||||
format = <label-state>
|
||||
format-padding = 0
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
; Default: %name%
|
||||
label-monitor = %name%
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
; %icon%
|
||||
; %index%
|
||||
; Default: %icon% %name%
|
||||
label-active = %name% %icon%
|
||||
label-active-foreground = ${color.ac}
|
||||
label-active-background = ${color.bg}
|
||||
;;label-active-underline = ${color.ac}
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
; %icon%
|
||||
; %index%
|
||||
; Default: %icon% %name%
|
||||
label-occupied = %icon%
|
||||
label-occupied-underline = ${color.fg}
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
; %icon%
|
||||
; %index%
|
||||
; Default: %icon% %name%
|
||||
label-urgent = %icon%
|
||||
label-urgent-foreground = ${color.red}
|
||||
label-urgent-background = ${color.bg}
|
||||
;;label-urgent-underline = ${color.red}
|
||||
|
||||
; Available tokens:
|
||||
; %name%
|
||||
; %icon%
|
||||
; %index%
|
||||
; Default: %icon% %name%
|
||||
label-empty = %icon%
|
||||
label-empty-foreground = ${color.fg}
|
||||
|
||||
label-active-padding = 1
|
||||
label-urgent-padding = 1
|
||||
label-occupied-padding = 1
|
||||
label-empty-padding = 1
|
||||
;; Create click handler used to focus desktop
|
||||
;; Default: true
|
||||
;enable-click = true
|
||||
;
|
||||
;; Create scroll handlers used to cycle desktops
|
||||
;; Default: true
|
||||
;enable-scroll = true
|
||||
;
|
||||
;; icon-[0-9]+ = <desktop-name>;<icon>
|
||||
;; NOTE: The desktop name needs to match the name configured by the WM
|
||||
;; You can get a list of the defined desktops using:
|
||||
;; $ xprop -root _NET_DESKTOP_NAMES
|
||||
;icon-0 = TTY;
|
||||
;icon-1 = WEB;
|
||||
;icon-2 = LAB;
|
||||
;icon-3 = MED;
|
||||
;;icon-4 = 5;
|
||||
;icon-default =
|
||||
;
|
||||
;; Available tags:
|
||||
;; <label-monitor>
|
||||
;; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
|
||||
;; Default: <label-state>
|
||||
;format = <label-state>
|
||||
;format-padding = 0
|
||||
;
|
||||
;; Available tokens:
|
||||
;; %name%
|
||||
;; Default: %name%
|
||||
;label-monitor = %name%
|
||||
;
|
||||
;; Available tokens:
|
||||
;; %name%
|
||||
;; %icon%
|
||||
;; %index%
|
||||
;; Default: %icon% %name%
|
||||
;label-active = %name% %icon%
|
||||
;label-active-foreground = ${color.ac}
|
||||
;label-active-background = ${color.bg}
|
||||
;;;label-active-underline = ${color.ac}
|
||||
;
|
||||
;; Available tokens:
|
||||
;; %name%
|
||||
;; %icon%
|
||||
;; %index%
|
||||
;; Default: %icon% %name%
|
||||
;label-occupied = %icon%
|
||||
;label-occupied-underline = ${color.fg}
|
||||
;
|
||||
;; Available tokens:
|
||||
;; %name%
|
||||
;; %icon%
|
||||
;; %index%
|
||||
;; Default: %icon% %name%
|
||||
;label-urgent = %icon%
|
||||
;label-urgent-foreground = ${color.red}
|
||||
;label-urgent-background = ${color.bg}
|
||||
;;;label-urgent-underline = ${color.red}
|
||||
;
|
||||
;; Available tokens:
|
||||
;; %name%
|
||||
;; %icon%
|
||||
;; %index%
|
||||
;; Default: %icon% %name%
|
||||
;label-empty = %icon%
|
||||
;label-empty-foreground = ${color.fg}
|
||||
;
|
||||
;label-active-padding = 1
|
||||
;label-urgent-padding = 1
|
||||
;label-occupied-padding = 1
|
||||
;label-empty-padding = 1
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; __________ ______
|
||||
|
Loading…
Reference in New Issue
Block a user