summaryrefslogtreecommitdiff
path: root/.config/polybar/bspwm.ini
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-20 16:22:17 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-20 16:22:17 -0700
commitf6432f0cc889b1e6b4a4244e471d7a5aa065500a (patch)
tree10b2b1c14691112367083840358a529e3b08d6c3 /.config/polybar/bspwm.ini
parent8b204c6d7270976b6a3c2bfaad87822a119d2564 (diff)
Fix font and add second bar
Diffstat (limited to '.config/polybar/bspwm.ini')
-rw-r--r--.config/polybar/bspwm.ini135
1 files changed, 128 insertions, 7 deletions
diff --git a/.config/polybar/bspwm.ini b/.config/polybar/bspwm.ini
index 1c2da93..47fd476 100644
--- a/.config/polybar/bspwm.ini
+++ b/.config/polybar/bspwm.ini
@@ -1,22 +1,143 @@
[module/bspwm]
type = internal/bspwm
-label-focused = %name%
-label-focused-background = ${colors.blue-alt}
+# Only show workspaces defined on the same output as the bar
+# NOTE: The bspwm and XRandR monitor names must match, which they do by default.
+# But if you rename your bspwm monitors with bspc -n this option will no longer
+# behave correctly.
+# Default: true
+pin-workspaces = true
+
+# Output mode flags after focused state label
+# Default: false
+inline-mode = false
+
+# Create click handler used to focus workspace
+# Default: true
+enable-click = true
+
+# Create scroll handlers used to cycle workspaces
+# Default: true
+enable-scroll = true
+
+# Set the scroll cycle direction
+# Default: true
+reverse-scroll = true
+
+# 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 that the <label> needs to correspond with the bspwm workspace name
+# Neither <label> nor <icon> can contain a semicolon (;)
+ws-icon-0 = Terminal;
+ws-icon-1 = Editor;
+ws-icon-2 = Code;
+ws-icon-3 = File;
+ws-icon-4 = Multimedia;
+ws-icon-5 = Browser;
+ws-icon-6 = Messages;
+ws-icon-7 = Reader;
+ws-icon-8 = Gaming;
+ws-icon-9 = Music;
+# ws-icon-default = X
+
+# Available tags:
+# <label-monitor>
+# <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)>
+# <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)>
+# Default: <label-state>
+format = <label-state> <label-mode>
+
+# Available tokens:
+# %name%
+# Default: %name%
+label-monitor = %name%
+
+# If any values for label-dimmed-N are defined, the workspace/mode
+# colors will get overridden with those values if the monitor is out of focus
+# To only override workspaces in a specific state, use:
+# label-dimmed-focused
+# label-dimmed-occupied
+# label-dimmed-urgent
+# label-dimmed-empty
+# label-dimmed-foreground = #555
+# label-dimmed-underline = ${color.background}
+# label-dimmed-focused-background = #f00
+
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# Default: %icon% %name%
+label-focused = %icon% %name%
+label-focused-background = ${colors.blue}
label-focused-foreground = ${colors.black}
label-focused-underline= ${colors.cyan}
+label-dimmed-focused-background = ${colors.blue-alt}
+label-dimmed-focused-foreground = ${colors.black-alt}
+label-dimmed-focused-underline= ${colors.cyan-alt}
label-focused-padding = 4
-label-occupied = %name%
-label-occupied-padding = 3
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# Default: %icon% %name%
+label-occupied = %icon% %name%
+label-occupied-foreground= ${colors.white-alt}
+label-occupied-underline = ${colors.blue}
+label-dimmed-occupied-foreground= ${colors.white}
+label-dimmed-occupied-underline = ${colors.blue-alt}
+label-occupied-padding = 2
-label-urgent = %name%!
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# Default: %icon% %name%
+label-urgent = %icon% %name%
+label-urgent-foreground = ${colors.white-alt}
label-urgent-background = ${colors.red}
+label-urgent-underline = ${colors.yellow}
+label-dimmed-urgent-foreground = ${colors.white}
+label-dimmed-urgent-background = ${colors.red-alt}
+label-dimmed-urgent-underline = ${colors.yellow-alt}
label-urgent-padding = 2
-label-empty = %name%
-label-empty-foreground = ${colors.foreground-alt}
+# Available tokens:
+# %name%
+# %icon%
+# %index%
+# Default: %icon% %name%
+label-empty = %icon%
+label-empty-foreground = ${colors.yellow}
+label-dimmed-empty-foreground = ${colors.yellow-alt}
label-empty-padding = 1
+# The following labels will be used to indicate the layout/mode
+# for the focused workspace. Requires <label-mode>
+
+# Available tokens:
+# None
+label-monocle = M
+label-tiled = T
+label-fullscreen = F
+label-floating = f
+label-pseudotiled = pT
+label-locked = L
+label-locked-foreground = ${colors.red}
+label-sticky = S
+label-sticky-foreground = ${colors.green}
+label-private = P
+label-private-foreground = ${colors.cyan}
+label-marked = m
+
# Separator in between workspaces
# label-separator = |
+# label-separator-padding = 1
+# label-separator-foreground = ${colors.foreground-alt}