summaryrefslogtreecommitdiffstats
path: root/config.def.h
AgeCommit message (Collapse)Author
2021-10-11code-style: fix consistency issues all over the codebase (#94)Berke Kocaoğlu
* remove duplicate comment * remove empty tabs and blank lines * move macros and globals ontop * comment to seprate function implementation * fix alignment * switch to *argv[] similar to other suckless code * kill all empty last lines * append comment to endif * reuse existing ARRLEN macro * comment fall through * use while (true) everywhere Co-authored-by: NRK <nrk@disroot.org>
2021-09-30update outdated comment in config.def.h (#105)N-R-K
we're not using 'background', 'foreground' and 'font' anymore. see: 0b20783 and f7557c5
2021-09-25Use zoom steps instead of hard-coding levels (#92)Lu Xu
Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
2021-09-24make keyhandler abort key configurable via config.hNRK
2021-09-20Allow any set of modifiers to be used in keybindingsArthur Williams
Previous the code only allowed ShiftMask,ControlMask or Mod1Mask to be used in keybindings and the presence of any others modifiers would be ignored. Most problems generally allow certain modifiers to be be ignored but not most and certainly don't allow Super-A to be treated like A. Now users can use any modifiers they want in keybindings and can also ignore any modifiers they want. By default only ModMask2 (commonly numlock is ignored) Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com>
2021-09-16config.def.h: change enums to static const intsNRK
2021-09-16Rename, Update Docs and Prepare for Release (#9)Berke Kocaoğlu
Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Arthur Williams <taaparthur@gmail.com> Co-authored-by: eylles <ed.ylles1997@gmail.com>
2021-09-16set title based on prefix and suffix (#23)qsmodo
Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: NRK <nrk@disroot.org> Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
2021-09-16add new keybind, Ctrl-a to toggle animation (#33)N-R-K
* add new keybind, Ctrl-a to toggle animation Closes: https://github.com/nsxiv/nsxiv/issues/27 * Format consistency This keeps in line with other actions that have multiple keybinds Co-authored-by: eylles <ed.ylles1997@gmail.com> Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
2021-09-16Implement fill scale modeBerke Kocaoğlu
2019-04-19Change colors and font only via X resourcesBert Münnich
2019-04-19Add Xresources font supportvxid
2019-01-26New colorsBert Münnich
2019-01-26Mention X resource properties in build-time color configBert Münnich
2019-01-23Align compile-time color options with X resource colorsBert Münnich
Two colors are more than enough!
2019-01-23Simplify X resource retrievalBert Münnich
Also makes the color names in config.def.h constant again.
2019-01-23Add Xresources capabilitynoamcore
2018-06-09Change default key-bindings of mark commandsBert Münnich
*Shift-m* feels much more natural for *mark_range* and *Ctrl-u* is decent enough for *unmark_all*.
2018-06-09Add mark range functionDaniel Lublin
Sets the marked state of all images ranging from the latest marked/unmarked image to the current image, to the state of that latest toggled image.
2018-01-22Use argument to select between two drag methodsphi
2017-10-06Improve mouse supportBert Münnich
None of the mouse mappings uses a keyboard modifier, making it possible to access the most basic features by only using the mouse. Next/previous image with left button depending on cursor position, middle button for dragging, right button for switching to thumnail mode and wheel for zooming. Users can keep the old behaviour by simply not adapting the changes to the buttons array in config.def.h to their config.h file.
2017-09-06Make pan fraction configurablejcalve
2016-08-06Use Xft for font loading and text drawingBert Münnich
2015-12-20Build-time option for default thumbnail size; fixes issue #207Bert Münnich
2015-01-11Simplified command argumentsBert Münnich
2015-01-05Apply gamma value on thumbnails too; fixes issue #193Bert Münnich
2014-09-29Moved thumbnail sizes array to config.def.hBert Münnich
2014-09-28Removed obsolete thumbnail dimension configuration settingBert Münnich
2014-09-28Added thumbnail zooming...Bert Münnich
- Key mappings +/- are now general commands - Use JPG as thumbnail cache file format instead of PNG - Fixes issue #161
2014-08-17Increased contrast in default color setBert Münnich
2014-08-17Added command to remove all image marks, bound to Ctrl-m; fixes issue #163Bert Münnich
2014-07-25Revised handling of GIF animationsBert Münnich
- New option `-a`: Play animations at startup - Ctrl-Space toggles animation for all GIF files - Infinite loop for all animations
2014-07-23Added support for multiple commands per key/button mapping; elegant fix for ↵Bert Münnich
issue #150
2014-07-23Revised command structure and key and mouse button mappingsBert Münnich
2014-05-31Use integers for mouse mappings and buttons 6+7 for horizontal scrollingBert Münnich
Fixes issue #143
2014-04-06Use a checkerboard background for alpha layer; fixes issue #138Bert Münnich
2014-02-04Revised scale mode and zoom level handlingBert Münnich
- Scale mode is not reset to default value upon image loading anymore - New default key binding to change mode to scale-down - Removed scale mode setting from config.h - Removed -d command line option, as this is now the default at startup
2014-02-04Removed fit-win-to-img commandBert Münnich
2014-01-31Merged pull request #129Bert Münnich
2014-01-31Use a prefix key to execute the key handlerAndrás Mohari
The default prefix key is C-x, and can be changed in config.def.h. The first key pressed after the prefix key will be passed the external key handler, unless the key is Escape, which is used to cancel the prefix.
2014-01-04Slideshow mode is back, in a simplified versionBert Münnich
2014-01-02Moved external shell commands into exec/key-handler scriptBert Münnich
Gets called on all unset key mappings. Arguments are: key combo and current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
2014-01-02Proper support for Ctrl/Shift/Alt modifiers in key & mouse mappingsBert Münnich
2013-12-31Refactored remote changesBert Münnich
2013-12-30Read GIF's repeat information from file.Aleksander Nitecki
2013-11-14Merge remote-tracking branch 'baskerville/reverse-marks'Bert Münnich
2013-11-14Refactored remote changesBert Münnich
2013-11-14Add command to reverse marked imagesBastien Dejean
2013-11-13Add support for changing the gamma valueAndrás Mohari
2013-08-22Added options for anti-alias & alpha layer coloring to config.def.hBert Münnich
Also removed now obsolete -p command line option; fixes issue #98