wmii - xrandr and resolution change

via action menu

changing display from my notebook's internal display (1024x768) to an external display with a different resolution didn't resize wmii's root window. instead of killing and restarting wmii from a xsession script i used wmii's exec feature to overload wmii with a new instance of itself.

so i added to following to my ~/wmii-3.5/wmiirc:

Action restart
                wmiir xwrite /ctl exec wmii
now you can restart wmii via "restart" from its action menu (alt+a).

from the shell

you can also use wmiir to restart wmii from the console or shell scripts:
wmiir xwrite /ctl exec wmii
back to zankapfel.net