Hi Enan, Enan Ajmain writes:
I want to add a keybinding to launch my terminal emulator in floating mode, and I want it to be separate from my regular keybinding to launch terminal in the currently active mode. If I wanted to launch the terminal window always in floating mode, I could have used rules.
You can just use WM_CLASS for this. For example, with urxvt, you can do urxvt -title floatingterm Then, in rules, you can add a rule to match on a WM_NAME of floatingterm.
I've looked through config file and have a guess that the NULL entry in the following list of strings might be used to indicate what mode I want the window to open in. ``` static const char *termcmd[] = { "st", NULL }; ```
What do you mean? NULL is not an entry, it's just an indication that we've reached the end of the char* array for execvp() (see spawn()).