mihirlad55 / polybar-dwm-module

A dwm module for polybar
MIT License
116 stars 15 forks source link

dwm module crashes sometimes #33

Closed zpxp closed 2 years ago

zpxp commented 2 years ago

Checklist

Describe the bug

Sometimes the polybar dwm module crashes and all the dwm tags and layout disappear from the bar

Expected behavior:

Tags should never disapear

Actual behavior:

Tags and layout disapears from bar

Was it working before?

To Reproduce

Unkown it happens randomly, usually when switching tags with keyboard or mouse.

Polybar Log


[me@comp ~]$ Bars launched...
notice: Parsing config file: /home/me/.config/polybar/config
notice: Parsing config file: /home/me/.config/polybar/config
notice: pulseaudio: using default sink alsa_output.usb-Lenovo_ThinkPad_USB-C_Dock_Audio_000000000000-00
notice: pulseaudio: using default sink alsa_output.usb-Lenovo_ThinkPad_USB-C_Dock_Audio_000000000000-00
notice: Loaded font "hack:pixelsize=10" (name=Hack, offset=1, file=/usr/share/fonts/TTF/Hack-Regular.tt
notice: Loaded font "siji:pixelsize=10" (name=Siji, offset=1, file=/usr/share/fonts/misc/siji.otb)
notice: Loaded font "FontAwesome5Free:style=Regular:size=10" (name=Font Awesome 5 Free, offset=4, file=
notice: Loaded font "FontAwesome5Brands:style=Regular:size=10" (name=Font Awesome 5 Brands, offset=4, f
notice: Loaded font "hack:pixelsize=10" (name=Hack, offset=1, file=/usr/share/fonts/TTF/Hack-Regular.tt
notice: Loaded font "siji:pixelsize=10" (name=Siji, offset=1, file=/usr/share/fonts/misc/siji.otb)
notice: Loaded font "FontAwesome5Free:style=Regular:size=10" (name=Font Awesome 5 Free, offset=4, file=
notice: Loaded font "FontAwesome5Brands:style=Regular:size=10" (name=Font Awesome 5 Brands, offset=4, f
warn: Systray selection already managed (window=0x1a00006)
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
warn: Dropping unmatched character 🔇 (U+1f507) in '🔇 muted'
error: module/dwm: [dwmipcpp] Client with window id 106954758 not found
notice: Stopping 'module/dwm'...
error: module/dwm: [dwmipcpp] Client with window id 62914968 not found
notice: Stopping 'module/dwm'...

Screenshots

image

Environment:

DWM Artix linux polybar and polybar-dwm-module built from the AUR

polybar -vvv
polybar 3.5.2-100-g0c3e139a

Features: +alsa +curl +dwm +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Additional context

Using dual monitor setup with 2 bars