aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini44
1 files changed, 40 insertions, 4 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 27f5e00..4dc7b04 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -91,7 +91,7 @@ batt-full-fg = ${colors.module-color-0}
[bar/mybar2]
monitor = ${env:MONITOR:HDMI-0}
enable-ipc = true
-width = 1577
+width = 1920
height = 20
offset-x = 0
offset-y = 0
@@ -122,7 +122,7 @@ font-3 = fixed:pixelsize=10;1
;font-5 = siji:pixelsize=10;1
modules-left = date uptime wlan eth filesystem-root filesystem-home filesystem-hdd cpu temperature memory xwindow
-modules-right = battery pulseaudio
+modules-right = battery pulseaudio ewmh
tray-position = right
tray-padding = 2
@@ -136,7 +136,7 @@ cursor-scroll = ns-resize
[bar/mybar]
;monitor = ${env:MONITOR:eDP-1}
enable-ipc = true
-width = 1475
+width = 1920
height = 28
offset-x = 0
offset-y = 0
@@ -167,7 +167,7 @@ font-3 = fixed:pixelsize=10;1
;font-5 = siji:pixelsize=10;1
modules-left = date uptime wlan eth filesystem-root filesystem-home filesystem-hdd cpu temperature memory xwindow
-modules-right = battery pulseaudio
+modules-right = battery pulseaudio ewmh
override-redirect = true
@@ -351,3 +351,39 @@ label-discharging-foreground = ${colors.batt-discharging-fg}
label-full-background = ${colors.batt-full-bg}
label-full-foreground = ${colors.batt-full-fg}
+[module/ewmh]
+type = internal/xworkspaces
+
+pin-workspaces = false
+enable-click = true
+enable-scroll = false
+format = <label-state>
+index-sort = true
+
+label-monitor = %name%
+
+label-active = %name%
+label-active-foreground = ${colors.ws-active-fg}
+label-active-background = ${colors.ws-active-bg}
+label-active-underline = ${colors.ws-active-ul}
+label-active-padding = 3
+
+label-occupied = %name%
+label-occupied-foreground = ${colors.ws-occupied-fg}
+label-occupied-background = ${colors.ws-occupied-bg}
+label-occupied-underline = ${colors.ws-occupied-ul}
+label-occupied-padding = 3
+
+label-empty = %name%
+label-empty-foreground = ${colors.ws-empty-fg}
+label-empty-background = ${colors.ws-empty-bg}
+label-empty-underline = ${colors.ws-empty-ul}
+label-empty-padding = 3
+
+label-background = #FFFFFF
+
+label-urgent = %name%
+label-urgent-foreground = #000000
+label-urgent-background = #bd2c40
+label-urgent-underline = #9b0a20
+label-urgent-padding = 0