mihirlad55 / polybar-dwm-module

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

floating sign doesn't appear on polybar #28

Open alanlai1234 opened 3 years ago

alanlai1234 commented 3 years ago

Checklist

Describe the bug

When i activate the function "togglefloating"(default binding mod+shift+space), the polybar dwm module doesn't appear the "F" sign, which it suppose to.

However if i launch polybar in command line(after dwm launched), the floating sign will only appear on the tag where the terminal is, but if i jump to other tags the sign won't appear again.

Expected behavior:

polybar dwm module should appear a "F" sign when togglefloating at anytime.

Actual behavior:

The sign doesn't appear when togglefloating.

Was it working before?

To Reproduce

try to toggle floating

my polybar config

Polybar Log

notice: Parsing config file: /home/alan/.config/polybar/config-tmp                                                                                                                         

notice: Loaded font "siji:pixelsize=13" (name=siji, offset=1, file=/usr/share/fonts/misc/siji.ttf)
notice: Loaded font "Source Han Serif CN:size=12:style:bold" (name=思源黑体 CN, offset=0, file=/usr/share/fonts/adobe-source-han-sans/SourceHanSansCN-Bold.otf)
notice: Loaded font "Inconsolata Nerd Font Mono:style=Regular:size=14" (name=Inconsolata Nerd Font Mono, offset=0, file=/usr/share/fonts/OTF/Inconsolata Regular Nerd Font Complete Mono.otf)
warn: Dropping unmatched character  (U+e8ac) in '

Screenshots

VirtualBox_archvm_27_06_2021_19_41_47 above is floating mode but without "F" sign

VirtualBox_archvm_27_06_2021_19_41_47 above is the tag of the terminal that launched polybar, which has the "F" sign.

Environment:

polybar 3.5.2-95-gbb94e184

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