[STUMP] Using run-or-raise to manage pre-configured windows in a tmux session

Alexander Stein <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <20140409130112.GA16402@localhost>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

I am a recent convert to StumpWM and I have to say I am really loving the power and minimalism.  This is a great project, and I am falling in love with it and Common Lisp again.

Now, I have a question that I have tried to answer by browsing many configurations in dotfiles and dedicated StumpWM tutorial pages (there a few, but they are very informative).  I am hoping, that a novice, someone can point me in the right direction.

Like others, I make frequent use of tmux in my day-to-day Linux usage.  I have set up all my GUI applications with (run-or-raise), and most importantly, my terminal emulator of choice (mlterm, since I use pesky non-ASCII RTL languages).  I have my bashrc file configured to automatically load a preconfigured main tmux session with the bells and whistles.  I spend most of my time in mutt, an emacsclient running an org-mode file for work, an emacsclient running an org-mode file for personal stuff, and a few other random windows in this tmux session.  The first few are currently instantiated manually, but in the past I had them open within tmux automatically.

Is it possible to set (run-or-raise), that when a keybinding calls a function that excutes it, will go to my configured mlterm, and then run the command like "tmux select-window mutt" after raising the current mlterm session?  StumpWM is pretty fast as it is, but this would make StumpWM the best experience I ever had on Linux.

I am sure this is going to be a macro of some kind and is most certainly not default behavior.  Any pointers would be very welcome.  If anyone has done this, or knows someone who has, I would love a link to any .stumpwmrc file.

Thanks again and keep hacking!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCgAGBQJTRUSYAAoJEBGW63ETeHHRq+MQALoQ0TRpN/eoLHGTEi9iHS6n
44sh8+vg66uWY0nmKzxmMnxn0AWX9k58mZ2uGkCJSl8UP8eqjvGKy4xF7QKK3wea
BV7hww+qV6fXZJnlrmQ3yL8OrMtNepNRMkfskTSMYwIKZjIsJo6l85fGYRsNgrvV
ZywEx2RakdHTV3ZschwK6K5ZmUDVRugz+xrkP4ZdULTqKUE7h17QPmacdIWn4RJU
Sctifod6U8eS+FERljTuSwPJH0onNs4w9bq9BWc4cRX/BhPvhscCUeiCNuKzR962
jrkt2TQ6jg/p5sL8xf+WUpV4ktYecv0XLbj6JPJW+n2IrpEXSKLP8ANZtU2zHCb/
tgdWOtzwjRqB2JmQTCfnYTffN7pI1drdyr0TGbOjyfuHWW239cPKX6hlB+u9LFUS
zBaZsfeofPFvZTM+KdRvFEnrO8hNweRUM28Rb+QUJo4gU6hlIDRcqmdaWpL05Eck
fZOdWDWHc/dSD19bqFpAAxC906i3TQbqFp9XGvKvoswrajQfmglWk1gTg0v2treM
PYOkgbucC+B3+raKeDsUCz9zP+03TufXbdUEwYo81h/JQDQ2Wjj4LFiBPDeErx+n
/c5sPMfC0HK2kKsso5+kj1JfaSiEW/icOtbkN+ySs0YXA+Dwdtby3WuNp0Jzw4Ri
xdrzhGXYHjRoHCXc7eh4
=3vlJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.