Synchronize active GTK2 and GTK3 themes with .xth theme selection
This commit is contained in:
1 parent
21485612fb
commit
16fcaaaba6
16 files changed
+949
-16
No files matched your search
@@ -79,7 +79,7 @@ static void apply_selected(themes_state_t *st) {
|
||||
const char *argv[] = {"/usr/bin/geminux-apply-theme", st->items[st->sel].name, NULL};
|
||||
int rc = gemui_run_cmd_capture(argv, NULL, 0);
|
||||
gemui_theme_reload(st->app);
|
||||
gemui_show_toast(st->app, rc == 0 ? "Applied .Xresources + dunst theme" : "Theme apply failed", 2000);
|
||||
gemui_show_toast(st->app, rc == 0 ? "Applied .Xresources, GTK2/GTK3 & dunst theme" : "Theme apply failed", 2000);
|
||||
gemui_request_redraw(st->app);
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ static void on_draw(gemui_app_t *app, cairo_t *cr, int w, int h, void *ud) {
|
||||
}
|
||||
|
||||
gemui_draw_button(app, cr, (gemui_rect_t){right_x, h - 94, right_w, 74},
|
||||
"Apply Across DWM, st, dmenu, dunst & Apps", HIT_APPLY, 0, true, false, false);
|
||||
"Apply Across DWM, st, dmenu, dunst, GTK2/3 & Apps", HIT_APPLY, 0, true, false, false);
|
||||
}
|
||||
|
||||
static void on_key(gemui_app_t *app, KeySym ks, unsigned int state, const char *utf8, void *ud) {
|
||||
|
||||
Reference in new issue
Block a user