about summary refs log tree commit diff
path: root/configs/polybar/modules/i3.ini
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 19:48:36 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 19:48:36 -0800
commitbcf28f0a088411ec2fa956ad7a79b7287b5ca1eb (patch)
tree20c1be54815e55a48fbedfe6898a3f4d2afe3856 /configs/polybar/modules/i3.ini
parentdesktop: configure GTK (diff)
downloadworld-bcf28f0a088411ec2fa956ad7a79b7287b5ca1eb.tar.gz
home-manager: let's try to configure polybar
There's a few things missing (my binaries for the wifi and battery, at a
minimum), but that's fine for now.
Diffstat (limited to '')
-rw-r--r--configs/polybar/modules/i3.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/configs/polybar/modules/i3.ini b/configs/polybar/modules/i3.ini
new file mode 100644
index 0000000..7e24a4a
--- /dev/null
+++ b/configs/polybar/modules/i3.ini
@@ -0,0 +1,20 @@
+[module/i3]
+type = internal/i3
+format = <label-state> <label-mode>
+index-sort = true
+wrapping-scroll = false
+pin-workspaces = true
+
+label-mode-background = ${colors.highlight}
+label-mode-padding = 1
+label-focused = %name%
+label-focused-background = ${colors.focused}
+label-focused-padding = 1
+label-unfocused = %name%
+label-unfocused-padding = 1
+label-visible = %name%
+label-visible-background = ${colors.highlight}
+label-visible-padding = 1
+label-urgent = %name%
+label-urgent-background = #a00000
+label-urgent-padding = 1