Skip to content

Commit 5064335

Browse files
committed
fix: backend running check with long user names
refs: #300
1 parent 3046251 commit 5064335

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plasmoid/package/contents/ui/FullRepresentation.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ColumnLayout {
3232

3333
property string execName: 'kde-material-you-colors'
3434
property string execPath: ""
35-
property string checkBackendCommand: 'ps -o user,pid,cmd -C '+execName+' --no-headers | grep -e "'+username+'" | grep -v "<defunct>" | grep -ve "--version" | grep "" | awk \'{print $2}\''
35+
property string checkBackendCommand: 'ps -o user:256,pid,cmd -C '+execName+' --no-headers | grep -e "'+username+'" | grep -v "<defunct>" | grep -ve "--version" | awk \'{print $2}\''
3636
property string startBackendCommand: execPath
3737
property string autoStartBackendCommand: execPath + ' --autostart;' + execPath
3838
property string backendVersionCommand: execPath + ' --version'

0 commit comments

Comments
 (0)