Comments (8)
You're right, my bad! I'll open a separate issue for this.
from waybar.
Confimed on Sway with Waybar v0.10.3 and kanshi 1.5.1. I'm pretty sure it depends on kanshi rearranging windows after a monitor setup change.
Relevant kanshi config
profile two_monitors {
output "WOR TERRA LED2211 22129TB000514" position 0,0 mode 1920x1080
output "LG Display 0x0521 Unknown" position 320,1080 mode 1920x1080
exec swaymsg workspace 2, move workspace to '"WOR TERRA LED2211 22129TB000514"'
}
profile single {
output "LG Display 0x0521 Unknown" position 0,0 mode 1920x1080
}
I kind of can reproduce this with:
- Starting situation:
- laptop single monitor
- one window in workspace 2
- no other active Waybar workspaces
- Plug an external monitor
- workspace 1 is created on laptop monitor and stays empty (correct)
kanshi
moves the window to workspace 2 (correct)- workspace 2 has no number indicator (bug)
Notes:
- If I kill
kanshi
before switching monitor configuration, the issue does not reproduce - if I have just one window in workspace 1, after plugging the external monitor workspace 2 is created and stays empty (correct) and does have the workspace indicator
- Reloading Waybar (
killall -SIGUSR2 waybar
) will force the correct configuration
I think the culprit here is the kanshi
directive move workspace
happening slightly after the monitor setup change. For some reason Waybar does not "see" this change. No idea why, must be some Sway machinery 🤷
from waybar.
After a little more experimentation, I'm pretty sure I've pinned down the problem to relate to the negative positioning on X axis of my one monitor. With these changes the problem is no longer occuring:
+++ b/stow/.config/kanshi/config
@@ -1,31 +1,31 @@
profile dock {
output eDP-1 disable
output "LG Electronics LG HDR 4K 0x00074879" {
enable
scale 1.7
- position -2259,0
+ position 0,0
}
output "ASUSTek COMPUTER INC ROG PG27V K3LMQS069452" {
enable
scale 1.2
- position 0,0
+ position 2258,0
}
}
UPDATE: Now I think it's not related to negative positioning. Suddenly the issue is happening again after config change. It has still only happened while using kanshi and not way-displays, but I don't know anymore, maybe even that is just coincidental.
from waybar.
This is now happening to me on Hyprland after an update yesterday. I have no workspace buttons, under any condition; they're just gone.
from waybar.
This seems related to Hyprland moving its socket directory, at least from the Waybar logs:
Hyprland IPC: Couldn't connect to /tmp/hypr/62ae2b3f40ffce99e1d94384800e9eba6638f447_1714723806_1223999769/.socket.sock.
Hyprland now uses $XDG_RUNTIME_DIR/hypr
rather than /tmp/hypr
(if the dir exists). See this commit: hyprwm/Hyprland@a5a6480
from waybar.
Your issue is probably unrelated to this one.
from waybar.
I'm not sure if my issue is related, but for me, the workspace buttons are consistently shown as configured on workspaces with no windows, and disappear once the workspace isn't empty. That seems to be the only factor with my setup
from waybar.
cc @Alexays if you have insights to share here (thanks!)
from waybar.
Related Issues (20)
- Multiple waybars open after resume from dpms off. HOT 2
- Dots showing up for some modules HOT 1
- Regression in clock module formatting HOT 4
- Images loaded with image module look blury
- Electron application will shake if mouse hover at workspace
- Sink not matching default if app launched with different sink as default HOT 1
- The battery level always falls back to BAT0 capacity regardless of exec command
- Weather widget wont open unless I manually run it waybar HOT 3
- Waybar crashes on voidlinux with hyprland (builded from src template)
- Tooltip Issue When Waybar is Positioned at Bottom HOT 2
- [Bug]: Waybar No Icons and Date Tooltip not Centered;Hyprland v0.41.0 HOT 3
- wlr/taskbar HOT 8
- `backlight/slider` module sets brightness to `min` value after dpms
- Glyphs and Fonts HOT 1
- support tooltip for systemd-failed-units
- Waybar crash after hyprctl dpms off/on
- wlr/taskbar on multi-monitor: icons not displayed for apps launched before waybar
- Cannot update HOT 2
- hyprland/workspaces no longer display persistent workspaces HOT 1
- Sway workspace option "current-only" is empty when a window is active
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waybar.