fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.34k stars 213 forks source link

How do I add personal commands into the command gui? #262

Open dylanpjx opened 3 years ago

dylanpjx commented 3 years ago

For the command gui which is defaulted to #y, can I only add Run and Send commands? For instance, I want to add Shutdown, 1 to it and it doesn't work.

Secondly, can you add a command but name it something else? For instance, a button Sumatrapdf on the command gui to execute the command Run, Sumatrapdf.

Thanks in advance!

joten commented 3 years ago

For the command gui which is defaulted to #y, can I only add Run and Send commands?

More or less, yes. Run, Send, Reload, ExitApp and bug.n internal functions are evaluated.

For instance, I want to add Shutdown, 1 to it

You may add Run, cmd.exe /c shutdown /s /t 0.

Secondly, can you add a command but name it something else?

No, it is more like a command prompt than a link list.