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

Michael Raskin <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
>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.

If I understand you correcly, you need run-or-raise and then 
run-shell-command in the defcommand body.


(defcommand something () ()
  "Description"
  (run-or-raise …)
  (run-shell-command "tmux …")
  )




_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
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.