Commit Graph

25 Commits (ca692ac4857bf696b75d8c06f8f75a099940cc59)

Author SHA1 Message Date
Guilherme Freire f7557c55b5 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
3 years ago
eylles d8ec6f91a9 Set the _NET_WM_PID and WM_CLIENT_MACHINE X properties (#13)
Set the _NET_WM_PID and WM_CLIENT_MACHINE X properties

Co-authored-by: Leon Kowarschick <lkowarschick@gmail.com>
Co-authored-by: Kian Kasad <kian@kasad.com>
Co-authored-by: NRK <nrk@disroot.org>
3 years ago
Berke Kocaoğlu 88f77bc59c Implement fill scale mode 3 years ago
Bert Münnich 07300da7df Do not keep track of fullscreen state
There is no more need for this after the removal of the special color handling
for fullscreen mode in commit 2886876.
5 years ago
Bert Münnich 28868767e6 Use normal win colors in fullscreen mode
Fixes issues #361 and #367
5 years ago
Bert Münnich 919ada1123 Align compile-time color options with X resource colors
Two colors are more than enough!
6 years ago
Kacper Gutowski e6c9218319 Don't skip dot files when cleaning cache 6 years ago
phi d5c5708110 Use argument to select between two drag methods 7 years ago
Bert Münnich 3c7d6f3528 Replace utf8codepoint with Chris Wellons' utf8_decode
Code under a different license should be kept in a separate file. This
implemention is a single header file with ~65 lines, so it better fits this
requirement.
7 years ago
Bert Münnich 69b2d3cafd win_textwidth is no longer needed outside window.c 7 years ago
Bert Münnich 30e2356622 Remove obsolete files[].base 7 years ago
Squibby eb96c71725 Try to match a fallback font if needed
Fixes #276

Instead of rendering the entire filename at once, Xft will let us do it
character by character. This will allow sxiv to query fontconfig for
a font that can provide any missing codepoints, if needed.

A known issue of this patch is that the "..." dots rendering will not
work properly for very long multibyte filenames. That is because we
cannot easily predict the final width of the rendered filename before
drawing it. I couldn't figure out a clean way to deal with this, so I
ended up just truncating the offending filenames.
7 years ago
Bert Münnich 148026007c One header file for type definitions and function declarations 7 years ago
Bert 8f4af658ae Refactored, new files util.[ch], C89 14 years ago
Bert f0e9ec733a Replaced option -W with -q, seems more natural 14 years ago
Bert 03bfe1015e Explicitly enable printing of warnings 14 years ago
Bert bce599038c Moved VERSION macro into Makefile 14 years ago
Bert b7b8705c27 Unstable version number 14 years ago
Bert 60a9ed7567 version 0.1 14 years ago
Bert bb12b8c0fb First try on zooming 14 years ago
Bert a7e30bb081 Option handling, merged app.c & events.c into main.c 14 years ago
Bert 79c7e6178e Render image on window 14 years ago
Bert bb4edc756c Renamed FATAL to DIE 14 years ago
Bert bbe7ae0470 WARN and FATAL macros 14 years ago
Bert e7bc3bb71b Non-working skeleton 14 years ago