Closed patrickaldis closed 1 year ago
The layer name for the notification dameon is notifications
iirc, you can use swaymsg -t get_tree
to get all active layers.
The layer name for the notification dameon is
notifications
iirc, you can useswaymsg -t get_tree
to get all active layers.
I think I'll add this to the README to prevent any more confusion, I know it isn't at all clear :)
I think I'll add this to the README to prevent any more confusion, I know it isn't at all clear :)
Just copy/paste the content from the Man page?
I think I'll add this to the README to prevent any more confusion, I know it isn't at all clear :)
Just copy/paste the content from the Man page?
Figure getting layer names could use a section
Maybe I'm missing something. But my tree doesn't contain waybar or dunst, I just assumed it didn't show layers
Maybe I'm missing something. But my tree doesn't contain waybar or dunst, I just assumed it didn't show layers
Try using get_outputs
instead
Try using
get_outputs
instead
This shows the connected video outputs and their specs
Try using
get_outputs
insteadThis shows the connected video outputs and their specs
Yeah, swaymsg -r -t get_outputs
also includes the layer information for each display
Ah yeah, that seems to work great. I don't think it's trivial though.
This is the full command I ended up using:
swaymsg -r -t get_outputs | jq '.[0].layer_shell_surfaces | .[] | .namespace'
Which gives a nice output of:
"wallpaper"
"waybar"
"notifications"
So @famfo remembers correctly :)
If I get time I'll add it to the docs
Added to the README, thanks!
Is there currently a way to get the names of all active layers?
I'm trying to get the layer name for the
dunst
notification daemon