Skip to content

Commit

Permalink
Sui(impl): Detect nordic dark theme (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ authored Aug 19, 2022
1 parent c7c2a4d commit 74b4ebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sui/sui_theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ static void update_setting(SuiThemeManager *self){
// Guess if the current theme is dark
self->dark |= g_strstr_len(lowercase, -1, "dark") != NULL
|| g_strstr_len(lowercase, -1, "nokto") != NULL
|| g_strstr_len(lowercase, -1, "inverse") != NULL;
|| g_strstr_len(lowercase, -1, "inverse") != NULL
|| g_strstr_len(lowercase, -1, "nordic") != NULL;

g_free(lowercase);
g_free(sys_theme_name);
Expand Down

0 comments on commit 74b4ebf

Please sign in to comment.