Skip to content

Commit

Permalink
force lower case for dark check. (redo)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolphinoracle committed Jul 14, 2024
1 parent babae77 commit 00cbf00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
mx-tweak (24.07.01mx23) mx; urgency=medium

* force lowercase on dark theme name check
* revise dark check to be case insensitive

-- Dolphin Oracle <[email protected]> Sun, 14 Jul 2024 16:59:38 -0400
-- Dolphin Oracle <[email protected]> Sun, 14 Jul 2024 18:54:58 -0400

mx-tweak (24.04.01mx23) mx; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion defaultlook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3683,7 +3683,7 @@ void defaultlook::settheme(const QString &type, const QString &theme, const QStr
if (runCmd("grep gtk-theme-name $HOME/.gtkrc-2.0").exitCode == 0) {
cmd = "sed -i 's/gtk-theme-name=.*/gtk-theme-name=\"" + theme + "\"/' $HOME/.gtkrc-2.0";
} else {
cmd = "echo gtk-theme-name=\"" + theme + "\" >> $HOME/.gtkrc-2.0";tolower
cmd = "echo gtk-theme-name=\"" + theme + "\" >> $HOME/.gtkrc-2.0";
}
system(cmd.toUtf8());

Expand Down

0 comments on commit 00cbf00

Please sign in to comment.