-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script does not work for me out of the box... #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, somebody else using my little script! Neat! =D
Left some style feedback. Changes look great and I appreciate you taking the time to send them back my way!
|`shell`|Creates a tab that| | ||
|`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.| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best change here ;).
yakuake-init.sh
Outdated
# | ||
logm () | ||
{ | ||
logger $(trim ${1}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind adding a tag for yaukuake-init
or something similar to identify all messages sourced from this script?
yakuake-init.sh
Outdated
then | ||
echo "${result}" | ||
result=$(dbus-send --print-reply=literal --dest=org.kde.yakuake /yakuake/${path} org.kde.yakuake.${method}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We seem to have a difference of opinion here about whitespace ;). Please stick with the already established convention of 4 spaces per indentation level throughout the file.
yakuake-init.sh
Outdated
"terminalIdsForSessionId") | ||
result=$(dbus-send --print-reply=literal --dest=org.kde.yakuake /yakuake/${path} org.kde.yakuake.${method} "${parameters[@]}") | ||
;; | ||
# "methodX" | "methodY") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These comments are no longer necessary. Please remove.
yakuake-init.sh
Outdated
|
||
# if [[ -n "${result}" ]] | ||
# then | ||
echo "${result}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surrounding comments are no longer necessary. Please remove and adjust this line's indentation.
... so i created some optimizations.
Maybe you want this optimizations to. ;)