You are not logged in.

#1 2014-01-07 09:45:20

mystyfly
Member
Registered: 2013-03-25
Posts: 30

Awesome WM - start client as slave

Hello everyone, I've been trying in vain to implement a specific behaviour in my rc.lua. Maybe someone has a good idea that might work or has done something similar before.

I'd like to spawn a terminal as slave when I hit Shift + Modkey + Return. I've tried adding a global key that spawns the client and set the current master as slave (awful.client.setslave(awful.client.getmaster()). I've also tried adding a client key that spawns a new terminal and swaps the parameter client with the master (c:swap(awful.client.getmaster())). Both would just spawn the terminal as master.

I guess I could do by starting the terminal with a specific name and catch it with rules but I was looking for a more elegant way... Thoughts?

Offline

Board footer

Powered by FluxBB