Last active
July 2, 2019 08:31
-
-
Save colthreepv/6158281 to your computer and use it in GitHub Desktop.
guake script to startup with tabs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# guake-start.sh | |
guake --rename-tab="home" & | |
sleep 3 | |
guake --new-tab=2 --rename-tab="projects" --execute-command="cd ~/projects" & | |
sleep 1 | |
guake --new-tab=3 --rename-tab="develop" --execute-command="cd ~/projects" & | |
sleep 1 | |
guake --new-tab=4 --rename-tab="git" --execute-command="cd ~/projects" & | |
sleep 1 | |
guake --new-tab=5 --rename-tab="sudo" & | |
sleep 1 | |
guake --new-tab=6 --rename-tab="optional" & |
You normally need to let guake start a D-bus event before you can do anything.
When you first open guake it already has a tab open hes just renaming it. then he waits for the D-Bus connection creates a tab names it then executes the sleep after i believe is for the execute command to execute before doing anything else.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why do you need the sleeps?