summaryrefslogtreecommitdiffstats
path: root/sxiv.h
diff options
context:
space:
mode:
authorGuilherme Freire <41879254+GRFreire@users.noreply.github.com>2021-09-11 16:38:22 +0200
committerBerke Kocaoğlu <berke.kocaoglu@metu.edu.tr>2021-09-16 21:55:31 +0200
commitf7557c55b5a87a51daba825ed3f6155eed179221 (patch)
treeeaedd0717e558730b62015740a088ae2ce3e6706 /sxiv.h
parentd8ec6f91a9857fb651f39de7929f17543d1c996c (diff)
downloadnsxiv-f7557c55b5a87a51daba825ed3f6155eed179221.tar.zst
Custom bar colors (#10)
* set bar and text colors independently * change xresources to Program.class.resource * rename color variables to win/bar_bg/fg * change default bar colors to match window colors
Diffstat (limited to 'sxiv.h')
-rw-r--r--sxiv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sxiv.h b/sxiv.h
index 746b35f..c914837 100644
--- a/sxiv.h
+++ b/sxiv.h
@@ -409,8 +409,10 @@ struct win {
Window xwin;
win_env_t env;
- XftColor bg;
- XftColor fg;
+ XftColor win_bg;
+ XftColor win_fg;
+ XftColor bar_bg;
+ XftColor bar_fg;
int x;
int y;