An init script for starting up the fantastic Yakuake console (https://extragear.kde.org/apps/yakuake/) based on a config file that specifies tabs, their names, and what command(s) to initialize them with.
./yakuake-init.sh sample.config
Any line beginning with a #
is ignored.
Each non-empty line in the config file is a new tab.
The tab title is everything in the line leading up to the first comma or end of the line, whichever comes first.
The command run to initialize the tab is everything after the comma.
Command | Description |
---|---|
htop, htop |
Creates a tab named "htop" and runs htop in the tab. |
journalctl, journalctl --follow |
Show only the most recent journal entries, and continuously print new entries as they are appended to the journal. |
home, cd ~ && clear |
Creates a tab, changes directory to your home then clears the console. |
shell【ツ】 |
Creates a new shell tab. |