Ive been looking for a way to remove the power/session buttons from kickoff launcher as i dont like having them there and use the lock/logout for it.
Ive modified the ConfigGeneral.qml for the kickoff plasmoid but am not sure exactly how badly hacky this is but it works adding this as a config option below “id: allActionsButton”
QQC2.RadioButton {
id: noActionsButton
text: i18n("Hide Power and Session Buttons")
QQC2.ButtonGroup.group: radioGroup
property string actions: " "
property int index: 4
checked: Plasmoid.configuration.primaryActions === index
}
Im not familiar with qml and just made a guess based on the rest of the file. Id rather not use plasmoids that i havent edited myself or the KDE team hasnt done and really only want to hide the power/session buttons.
Is there a better way to handle this in the qml files for the plasmoid or should this be ok for a quick and dirty way to hide the buttons??