mihirlad55 / polybar-dwm-module

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

Could not find socket: /tmp/dwm.sock) #24

Closed ViggoGaming closed 3 years ago

ViggoGaming commented 3 years ago

Checklist

Describe the bug

When I launch polybar it just says it can't find the socket /tmp/dwm.sock. My polybar launches fine and all of my modules works fine except the dwm module, so I can't see what tag I am on.

Expected behavior: I expected it to connect to the socket and showed me the dwm module inside of my polybar.

Actual behavior: Nothing happens, it just does not show the dwm module.

To Reproduce

...
modules-left = bspwm i3 dwm
...

...
[module/dwm]
type = internal/dwm
format = <label-tags> <label-layout> <label-floating> <label-title>
; Path to dwm socket (default: /tmp/dwm.sock)
; socket-path = /tmp/dwm.sock
...

Polybar Log

error: Disabling module "dwm" (reason: Could not find socket: /tmp/dwm.sock)

Screenshots

Environment:

polybar 3.5.2-94-g6b54ea27

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: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

I hope somebody can help me out!

ViggoGaming commented 3 years ago

I am very sorry for opening this issue... I fixed it by applying the dwm ipc patch manually and now it works great!