Choffee/ thoughtsplurge/ posts/ 2007/ 06/ 15/ Exit from pywmii

Exit from pywmii

Found a little bug in the default pywmii setup in that it does not have an action script for quiting! Pop the following in an executable file called 'exit' in $HOME/.wmii-3.5/

#!/usr/bin/env python

# Simple script to stop wmii

import wmii
mywmii=wmii.WMII()

mywmii.p9.write(wmii.WMII_CMD,'quit')

blog comments powered by Disqus Valid XHTML 1.0 Strict Valid CSS! Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.