Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
wmctrl makes your mornings easier
# force 8 workspaces
wmctrl -n 8
# launch
eclipse &
firefox -P default &
thunderbird &
amsn &
gnome-terminal --maximize &
chromium-browser %U &
# wait
sleep 60
# move
wmctrl -r firefox -t 0
wmctrl -r eclipse -t 1
wmctrl -r terminal -t 2
wmctrl -r chromium -t 5
wmctrl -r amsn -t 6
wmctrl -r thunderbird -t 7
# focus
wmctrl -a terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment