mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Changed theme properties
This commit is contained in:
parent
6cf33d65e7
commit
c0ac3673af
20
src/theme.c
20
src/theme.c
@ -245,43 +245,43 @@ _load_colours(void)
|
|||||||
_set_colour(statusbar_val, &colour_prefs.statusbar, COLOR_BLUE);
|
_set_colour(statusbar_val, &colour_prefs.statusbar, COLOR_BLUE);
|
||||||
g_free(statusbar_val);
|
g_free(statusbar_val);
|
||||||
|
|
||||||
gchar *titlebartext_val = g_key_file_get_string(theme, "colours", "titlebartext", NULL);
|
gchar *titlebartext_val = g_key_file_get_string(theme, "colours", "titlebar.text", NULL);
|
||||||
_set_colour(titlebartext_val, &colour_prefs.titlebartext, COLOR_WHITE);
|
_set_colour(titlebartext_val, &colour_prefs.titlebartext, COLOR_WHITE);
|
||||||
g_free(titlebartext_val);
|
g_free(titlebartext_val);
|
||||||
|
|
||||||
gchar *titlebarbrackets_val = g_key_file_get_string(theme, "colours", "titlebarbrackets", NULL);
|
gchar *titlebarbrackets_val = g_key_file_get_string(theme, "colours", "titlebar.brackets", NULL);
|
||||||
_set_colour(titlebarbrackets_val, &colour_prefs.titlebarbrackets, COLOR_CYAN);
|
_set_colour(titlebarbrackets_val, &colour_prefs.titlebarbrackets, COLOR_CYAN);
|
||||||
g_free(titlebarbrackets_val);
|
g_free(titlebarbrackets_val);
|
||||||
|
|
||||||
gchar *statusbartext_val = g_key_file_get_string(theme, "colours", "statusbartext", NULL);
|
gchar *statusbartext_val = g_key_file_get_string(theme, "colours", "statusbar.text", NULL);
|
||||||
_set_colour(statusbartext_val, &colour_prefs.statusbartext, COLOR_WHITE);
|
_set_colour(statusbartext_val, &colour_prefs.statusbartext, COLOR_WHITE);
|
||||||
g_free(statusbartext_val);
|
g_free(statusbartext_val);
|
||||||
|
|
||||||
gchar *statusbarbrackets_val = g_key_file_get_string(theme, "colours", "statusbarbrackets", NULL);
|
gchar *statusbarbrackets_val = g_key_file_get_string(theme, "colours", "statusbar.brackets", NULL);
|
||||||
_set_colour(statusbarbrackets_val, &colour_prefs.statusbarbrackets, COLOR_CYAN);
|
_set_colour(statusbarbrackets_val, &colour_prefs.statusbarbrackets, COLOR_CYAN);
|
||||||
g_free(statusbarbrackets_val);
|
g_free(statusbarbrackets_val);
|
||||||
|
|
||||||
gchar *statusbaractive_val = g_key_file_get_string(theme, "colours", "statusbaractive", NULL);
|
gchar *statusbaractive_val = g_key_file_get_string(theme, "colours", "statusbar.active", NULL);
|
||||||
_set_colour(statusbaractive_val, &colour_prefs.statusbaractive, COLOR_CYAN);
|
_set_colour(statusbaractive_val, &colour_prefs.statusbaractive, COLOR_CYAN);
|
||||||
g_free(statusbaractive_val);
|
g_free(statusbaractive_val);
|
||||||
|
|
||||||
gchar *statusbarnew_val = g_key_file_get_string(theme, "colours", "statusbarnew", NULL);
|
gchar *statusbarnew_val = g_key_file_get_string(theme, "colours", "statusbar.new", NULL);
|
||||||
_set_colour(statusbarnew_val, &colour_prefs.statusbarnew, COLOR_WHITE);
|
_set_colour(statusbarnew_val, &colour_prefs.statusbarnew, COLOR_WHITE);
|
||||||
g_free(statusbarnew_val);
|
g_free(statusbarnew_val);
|
||||||
|
|
||||||
gchar *maintext_val = g_key_file_get_string(theme, "colours", "maintext", NULL);
|
gchar *maintext_val = g_key_file_get_string(theme, "colours", "main.text", NULL);
|
||||||
_set_colour(maintext_val, &colour_prefs.maintext, COLOR_WHITE);
|
_set_colour(maintext_val, &colour_prefs.maintext, COLOR_WHITE);
|
||||||
g_free(maintext_val);
|
g_free(maintext_val);
|
||||||
|
|
||||||
gchar *splashtext_val = g_key_file_get_string(theme, "colours", "splashtext", NULL);
|
gchar *splashtext_val = g_key_file_get_string(theme, "colours", "main.splash", NULL);
|
||||||
_set_colour(splashtext_val, &colour_prefs.splashtext, COLOR_CYAN);
|
_set_colour(splashtext_val, &colour_prefs.splashtext, COLOR_CYAN);
|
||||||
g_free(splashtext_val);
|
g_free(splashtext_val);
|
||||||
|
|
||||||
gchar *inputtext_val = g_key_file_get_string(theme, "colours", "inputtext", NULL);
|
gchar *inputtext_val = g_key_file_get_string(theme, "colours", "input.text", NULL);
|
||||||
_set_colour(inputtext_val, &colour_prefs.inputtext, COLOR_WHITE);
|
_set_colour(inputtext_val, &colour_prefs.inputtext, COLOR_WHITE);
|
||||||
g_free(inputtext_val);
|
g_free(inputtext_val);
|
||||||
|
|
||||||
gchar *timetext_val = g_key_file_get_string(theme, "colours", "timetext", NULL);
|
gchar *timetext_val = g_key_file_get_string(theme, "colours", "main.time", NULL);
|
||||||
_set_colour(timetext_val, &colour_prefs.timetext, COLOR_WHITE);
|
_set_colour(timetext_val, &colour_prefs.timetext, COLOR_WHITE);
|
||||||
g_free(timetext_val);
|
g_free(timetext_val);
|
||||||
|
|
||||||
|
20
themes/aqua
20
themes/aqua
@ -2,16 +2,16 @@
|
|||||||
bkgnd=default
|
bkgnd=default
|
||||||
titlebar=blue
|
titlebar=blue
|
||||||
statusbar=blue
|
statusbar=blue
|
||||||
titlebartext=white
|
titlebar.text=white
|
||||||
titlebarbrackets=white
|
titlebar.brackets=white
|
||||||
statusbartext=white
|
statusbar.text=white
|
||||||
statusbarbrackets=white
|
statusbar.brackets=white
|
||||||
statusbaractive=cyan
|
statusbar.active=cyan
|
||||||
statusbarnew=white
|
statusbar.new=white
|
||||||
maintext=blue
|
main.text=blue
|
||||||
inputtext=white
|
input.text=white
|
||||||
timetext=cyan
|
main.time=cyan
|
||||||
splashtext=white
|
main.splash=white
|
||||||
online=white
|
online=white
|
||||||
away=cyan
|
away=cyan
|
||||||
chat=white
|
chat=white
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
bkgnd=default
|
bkgnd=default
|
||||||
titlebar=green
|
titlebar=green
|
||||||
statusbar=green
|
statusbar=green
|
||||||
titlebartext=black
|
titlebar.text=black
|
||||||
titlebarbrackets=black
|
titlebar.brackets=black
|
||||||
statusbartext=black
|
statusbar.text=black
|
||||||
statusbarbrackets=black
|
statusbar.brackets=black
|
||||||
statusbaractive=black
|
statusbar.active=black
|
||||||
statusbarnew=black
|
statusbar.new=black
|
||||||
maintext=green
|
main.text=green
|
||||||
inputtext=green
|
input.text=green
|
||||||
timetext=green
|
main.time=green
|
||||||
splashtext=green
|
main.splash=green
|
||||||
online=green
|
online=green
|
||||||
away=green
|
away=green
|
||||||
chat=green
|
chat=green
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
bkgnd=default
|
bkgnd=default
|
||||||
titlebar=magenta
|
titlebar=magenta
|
||||||
statusbar=default
|
statusbar=default
|
||||||
titlebartext=white
|
titlebar.text=white
|
||||||
titlebarbrackets=white
|
titlebar.brackets=white
|
||||||
statusbartext=white
|
statusbar.text=white
|
||||||
statusbarbrackets=red
|
statusbar.brackets=red
|
||||||
statusbaractive=cyan
|
statusbar.active=cyan
|
||||||
statusbarnew=white
|
statusbar.new=white
|
||||||
maintext=blue
|
main.text=blue
|
||||||
inputtext=yellow
|
input.text=yellow
|
||||||
timetext=green
|
main.time=green
|
||||||
splashtext=red
|
main.splash=red
|
||||||
online=red
|
online=red
|
||||||
away=cyan
|
away=cyan
|
||||||
chat=green
|
chat=green
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
bkgnd=default
|
bkgnd=default
|
||||||
titlebar=blue
|
titlebar=blue
|
||||||
statusbar=blue
|
statusbar=blue
|
||||||
titlebartext=white
|
titlebar.text=white
|
||||||
titlebarbrackets=cyan
|
titlebar.brackets=cyan
|
||||||
statusbartext=white
|
statusbar.text=white
|
||||||
statusbarbrackets=cyan
|
statusbar.brackets=cyan
|
||||||
statusbaractive=cyan
|
statusbar.active=cyan
|
||||||
statusbarnew=white
|
statusbar.new=white
|
||||||
maintext=white
|
main.text=white
|
||||||
inputtext=white
|
input.text=white
|
||||||
timetext=white
|
main.time=white
|
||||||
splashtext=cyan
|
main.splash=cyan
|
||||||
online=green
|
online=green
|
||||||
away=cyan
|
away=cyan
|
||||||
chat=green
|
chat=green
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[colours]
|
[colours]
|
||||||
splashtext=red
|
main.splash=red
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
bkgnd=white
|
bkgnd=white
|
||||||
titlebar=blue
|
titlebar=blue
|
||||||
statusbar=blue
|
statusbar=blue
|
||||||
titlebartext=white
|
titlebar.text=white
|
||||||
titlebarbrackets=white
|
titlebar.brackets=white
|
||||||
statusbartext=white
|
statusbar.text=white
|
||||||
statusbarbrackets=white
|
statusbar.brackets=white
|
||||||
statusbaractive=megenta
|
statusbar.active=megenta
|
||||||
statusbarnew=red
|
statusbar.new=red
|
||||||
maintext=black
|
main.text=black
|
||||||
inputtext=black
|
input.text=black
|
||||||
timetext=black
|
main.time=black
|
||||||
splashtext=black
|
main.splash=black
|
||||||
online=green
|
online=green
|
||||||
away=cyan
|
away=cyan
|
||||||
chat=green
|
chat=green
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[colours]
|
[colours]
|
||||||
splashtext=yellow
|
main.splash=yellow
|
||||||
|
Loading…
Reference in New Issue
Block a user