Skip to content

Commit

Permalink
Merge pull request #166 from dolphinoracle/gtk3
Browse files Browse the repository at this point in the history
better fluxbox style name detection
  • Loading branch information
dolphinoracle authored Jan 10, 2025
2 parents 02c3dab + 32205a3 commit d59b083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defaultlook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3864,7 +3864,7 @@ void defaultlook::populatethemelists(const QString &value)

ui->listWidgetWMtheme->clear();
ui->listWidgetWMtheme->addItems(themelist);
current = runCmd(QStringLiteral("grep styleFile $HOME/.fluxbox/init |grep -v ^# | cut -d\"/\" -f6")).output;
current = runCmd(QStringLiteral(basename $(grep styleFile $HOME/.fluxbox/init |grep -v ^# |grep -oE '/[^ ]+'))).output;
ui->listWidgetWMtheme->setCurrentRow(themelist.indexOf(current));
}

Expand Down

0 comments on commit d59b083

Please sign in to comment.