FieldofClay / hyprland-activewindow

A multi-monitor aware Hyprland active window title outputer
MIT License
15 stars 2 forks source link

Is it possible to just get the title of the window itself? #6

Closed B21q closed 8 months ago

B21q commented 10 months ago

Is it possible to just get the title of the window itself? For example, only firefox, only alacritty, only neovim. At the moment it captures the full title of the window

FieldofClay commented 10 months ago

I may be possible. Have a look at the output of hyprctl clients -j, specifically at initialTitle and class. Do they look more like what you're after? Currently the app is pulling from title, but wouldn't be too difficult to include those extra fields in the advanced version of the app.

B21q commented 10 months ago

Yes, I'll read the code one of these days haha, I'm making a Rice in eww and I think it would look better just showing the title of the app.

Em seg., 29 de jan. de 2024 22:02, FieldofClay @.***> escreveu:

I may be possible. Have a look at the output of hyprctl clients -j, specifically at initialTitle and class. Do they look more like what you're after? Currently the app is pulling from title, but wouldn't be too difficult to include those extra fields in the advanced version of the app.

— Reply to this email directly, view it on GitHub https://github.com/FieldofClay/hyprland-activewindow/issues/6#issuecomment-1915863751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZKAMUBCUL6AQ66BOQZ3BGDYRBBCXAVCNFSM6AAAAABCMINXHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA3DGNZVGE . You are receiving this because you authored the thread.Message ID: @.***>

FieldofClay commented 8 months ago

The initial title of a window is now output in advanced mode, alongside the current title in v1.0.0