adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.62k stars 307 forks source link

After installation, rofi launches together with my terminal (kitty) #140

Closed JakobSachs closed 1 year ago

JakobSachs commented 1 year ago

Im running dwm with kitty as my terminal emulator, and have just today downloaded these rofi themes. My normal rofi/dmenu shortcut works fine, but now when i use the dwm default shortcut to launch a terminal, rofi opens "inside" the terminal like seen here:

image

And then, no matter what i select, closes instantly (without launching whatever i selected).


My relevant parts of my dwm/config.h looks like this:

/* commands */
static const char* dmenucmd[] = { "/home/jakob/.config/rofi/scripts/launcher_t2" };
static const char* termcmd[] = { "kitty" }; //{ "x-terminal-emulator" };
...
static const Key keys[] = {
    /* modifier                     key        function        argument */
    { MODKEY, XK_p, spawn, { .v = dmenucmd } },
    { MODKEY | ShiftMask, XK_Return, spawn, { .v = termcmd } },
...

If i change my dmenucmd to {"rofi"} it works as usual/expected, so i dont think it is a DWM/kitty/etc. related problem.

(Also changed my keybinding for either and the issue still persists, so not a problem of clashing keybindings.)


I really enjoy the themes/styles, so i hope we can find a fix for this. Thanks for any help ^^

JakobSachs commented 1 year ago

Nevermind, seems to have been an issue in my dwm.