summaryrefslogtreecommitdiff
path: root/.config/polybar/i3.ini
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/i3.ini')
-rw-r--r--.config/polybar/i3.ini148
1 files changed, 148 insertions, 0 deletions
diff --git a/.config/polybar/i3.ini b/.config/polybar/i3.ini
new file mode 100644
index 0000000..3d42e93
--- /dev/null
+++ b/.config/polybar/i3.ini
@@ -0,0 +1,148 @@
+[module/i3]
+type = internal/i3
+# 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
+
+# This will split the workspace name on ':'
+# Default: false
+strip-wsnumbers = true
+
+# Sort the workspaces by index instead of the default
+# sorting that groups the workspaces by output
+# Default: false
+index-sort = true
+
+# Create click handler used to focus workspace
+# Default: true
+enable-click = false
+
+# Create scroll handlers used to cycle workspaces
+# Default: true
+enable-scroll = false
+
+# Wrap around when reaching the first/last workspace
+# Default: true
+wrapping-scroll = false
+
+# Set the scroll cycle direction
+# Default: true
+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
+
+# ws-icon-[0-9]+ = <label>;<icon>
+# NOTE: The <label> needs to match the name of the i3 workspace
+# Neither <label> nor <icon> can contain a semicolon (;)
+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.
+# NOTE: Icon will be available as the %icon% token inside label-*
+
+# Available tags:
+# <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
+# <label-mode> (default)
+format = <label-state> <label-mode>
+
+# Available tokens:
+# %mode%
+# Default: %mode%
+label-mode = %mode%
+label-mode-padding = 2
+label-mode-background = #e60053
+
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# %output%
+# Default: %icon% %name%
+label-focused = %index%
+label-focused-foreground = #ffffff
+label-focused-background = #3f3f3f
+label-focused-underline = #fba922
+label-focused-padding = 4
+
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# %output%
+# Default: %icon% %name%
+label-unfocused = %index%
+label-unfocused-padding = 4
+
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# %output%
+# Default: %icon% %name%
+label-visible = %index%
+label-visible-underline = #555555
+label-visible-padding = 4
+
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# %output%
+# Default: %icon% %name%
+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
+
+# Default config already in example.
+
+# format = <label-state> <label-mode>
+# index-sort = true
+# wrapping-scroll = false
+
+# Only show workspaces on the same output as the bar
+# pin-workspaces = true
+
+# label-mode-padding = 2
+# label-mode-foreground = #000
+# label-mode-background = ${colors.blue}
+
+# focused = Active workspace on focused monitor
+# label-focused = %index%
+# label-focused-background = ${colors.background-alt}
+# label-focused-underline= ${colors.blue}
+# label-focused-padding = 2
+
+# unfocused = Inactive workspace on any monitor
+# label-unfocused = %index%
+# label-unfocused-padding = 2
+
+# visible = Active workspace on unfocused monitor
+# label-visible = %index%
+# label-visible-background = ${self.label-focused-background}
+# label-visible-underline = ${self.label-focused-underline}
+# label-visible-padding = ${self.label-focused-padding}
+
+# urgent = Workspace with urgency hint set
+# label-urgent = %index%
+# label-urgent-background = ${colors.red}
+# label-urgent-padding = 2
+
+# Separator in between workspaces
+# label-separator = |