Ignore that last email. I discovered my issue was caused by copying
/use/share/applications/vim.desktop to my .local/share/applications didn't
work no matter what changes I made even after updating the database with
the correct path. I discovered if I just made a new vim.desktop with not as
much info as the original it worked so I'm all good now . I can launch vim
from rofi with a class so it gets matched and using an alias I can type vim
and it gets matched too. ☺️

On Sun, 3 Jan 2021, 21:05 Justine Smithies, <[email protected]> wrote:

> I have another match question. My vim app gives me this via xprop when
> launched from rofi using the default desktop file.
>
> _NET_WM_ICON(CARDINAL) =
> _NET_WM_DESKTOP(CARDINAL) = 0
> WM_STATE(WM_STATE):
> window state: Normal
> icon window: 0x0
> _NET_WM_ICON_NAME(UTF8_STRING) = "vim"
> _NET_WM_NAME(UTF8_STRING) = "vim"
> WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
> WM_CLIENT_MACHINE(STRING) = "justine-laptop"
> WM_ICON_NAME(STRING) = "vim"
> WM_NAME(STRING) = "vim"
> XdndAware(ATOM) = BITMAP
> WM_CLASS(STRING) = "kitty", "kitty"
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> window gravity: Static
> WM_HINTS(WM_HINTS):
> Initial state is Normal State.
> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
> _NET_WM_PID(CARDINAL) = 476101
> WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
>
> As you can see wm_class="kitty"
>
> I have an alias in my .bashrc like alias vim=kitty --class vim -e vim
> which launches vim fine and is matched using wm-class but to launch via
> rofi i need to match via WM_NAME which is vim .
> I tried using title like in the docs for my match as it said tile(WM_NAME)
> but it doesn't seem to work ???
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CADrRWNaaCr6Byu7GPvqv3%3D5qzM-XrAOf87bGG%2Bm_8CPTDnDGTg%40mail.gmail.com.

Reply via email to