hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.1k stars 33 forks source link

module Ewmh/xworkspaces is not showing in polybar #91

Open arcolinuxz opened 2 years ago

arcolinuxz commented 2 years ago

Please describe the bug

we do not see the workspaces in our polybar should be in the middle top bar

https://github.com/arcolinux/arcolinux-hypr/tree/main/etc/skel/.config/hypr/polybar

Steps to reproduce: Install our app package on ArcoLinux

Package is renamed to hypr-dev-git (same from AUR - named there hypr-git added xorg-xmodmap as dependency) Using a different naming convention to keep track of your commits to github r369.3e3d943-2 - commit 369 at the moment https://github.com/arcolinux/arcolinux_repo_3party/blob/main/x86_64/hypr-dev-git-r369.3e3d943-2-x86_64.pkg.tar.zst

Install our config package on ArcoLinux

https://github.com/arcolinux/arcolinux_repo/blob/main/x86_64/arcolinux-hypr-git-22.11-06-any.pkg.tar.zst https://github.com/arcolinux/arcolinux-hypr

Expected behavior We would like to see multiple workspaces.

Video 3 issues

  1. keybindings (quit application for example)
  2. ewmh on polybar
  3. system panel icons not responding on a click

https://youtu.be/s84yLa80BFc

Image

hypr-issues

Log: Please attach a log. (paste it into pastebin and paste here the url) The log can be found in a temp file located in /tmp/hypr/hypr.log.

hypr.log

vaxerski commented 2 years ago

This is my config that has worked under Hypr back in the day, see the bottom of the file for workspaces.

user_modules.txt

TLDR: I think it's because it should be

[module/workspaces]
type = internal/xworkspaces
arcolinuxz commented 2 years ago

your file does not include workspaces or ewmh

vaxerski commented 2 years ago

sorry, wrong file. I am trippin. modules.txt

arcolinuxz commented 2 years ago

it says we can see the desktops with

xprop -root _NET_DESKTOP_NAMES

the message is that this variabel is not found

I did a copy/paste of your code into my config

no desktops yet

I wonder what I did on the other machine - I did see 1 and 2 - was working on a dual screen there - other issue I am trying to solve - Hypr and polybar on dualscreen - if you got a script for that ...

Could you send your complete polybar config - all files?

vaxerski commented 2 years ago

polybar.tar.gz

the message is that this variabel is not found

that's... odd...

arcolinuxz commented 2 years ago

Thought I had solved it

was a one time thing sigh

arcolinuxz commented 2 years ago

Sometimes I do see them.

Like here I see them double - I can open a new workspace as well I can even move windows to the other workspace... clicking on them works scrolling on them works

current code

image

image

vaxerski commented 2 years ago

genuinely no clue, haven't experienced that myself. Just tested and they seem to work A-OK on my system.