Update plugins/runcommand/runcommand_config.cpp
This commit is contained in:
parent
ef73ce6f62
commit
3ca55ad794
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ RunCommandConfig::RunCommandConfig(QWidget* parent, const QVariantList& args)
|
|||
}
|
||||
|
||||
QMenu* defaultMenu = new QMenu(this);
|
||||
addSuggestedCommand(defaultMenu, i18n("Shutdown"), QStringLiteral("systemctl poweroff"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Reboot"), QStringLiteral("systemctl reboot"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Suspend"), QStringLiteral("systemctl suspend"));
|
||||
addSuggestedCommand(defaultMenu, i18n("Maximum Brightness"), QStringLiteral("%0 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness `%0 org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightnessMax`").arg(qdbusExe));
|
||||
addSuggestedCommand(defaultMenu, i18n("Lock Screen"), QStringLiteral("loginctl lock-session"));
|
||||
|
|
Loading…
Reference in a new issue