- Jun 23, 2016
-
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
- Jun 22, 2016
-
-
Birte Kristina Friesel authored
-
- Jun 19, 2016
-
-
Birte Kristina Friesel authored
-
- Jun 09, 2016
-
-
Birte Kristina Friesel authored
-
- Jun 07, 2016
-
-
Birte Kristina Friesel authored
-
- Jun 06, 2016
-
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
This is kinda sloppy coding (feh --filelist and --bg-* will fail when running on a system with path lengths >= 4096 and PATH_MAX not defined), but that's sufficiently improbable to be okay. (plus, I ain't getting paid for this, so if you want to improve it feel free to do so)
-
- Jun 02, 2016
-
-
Birte Kristina Friesel authored
-
- May 28, 2016
-
-
guns authored
Many image collections are organized by directory, so it is nice to have jump-to-adjacent-directory navigation. e.g. Given the following file hierarchy: . ├── A │ ├── 1.jpg │ ├── 2.jpg │ └── C │ ├── 1.jpg │ ├── 2.jpg │ └── 3.jpg └── B ├── 1.jpg ├── 2.jpg └── 3.jpg `feh --recursive` creates the following filelist: A/1.jpg <---- current_file A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg If we press [next_dir], we move the current_file pointer to: A/1.jpg A/2.jpg A/C/1.jpg <-- current_file A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg Pressing [next_dir] again moves the pointer to: A/1.jpg A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg <---- current_file B/2.jpg B/3.jpg [next_dir] now moves the pointer back to the top of the list: A/1.jpg <---- current_file A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg Pressing [prev_dir] from here moves backwards to the first image of the previous directory: A/1.jpg A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg <---- current_file B/2.jpg B/3.jpg When starting from an position that is not the first image of a directory, [prev_dir] moves the pointer to the first image of the current directory. These actions combine well with `--sort dirname` since all regular files in a directory will be sorted before any subdirectories, avoiding a filelist like the following: A/1.jpg A/SUBDIR/2.jpg A/SUBDIR/3.jpg A/4.jpg With `--sort dirname` that filelist becomes: A/1.jpg A/4.jpg A/SUBDIR/2.jpg A/SUBDIR/3.jpg
-
guns authored
Sort filelist by dirname, then by name. This results in file entries sorting before subdirectory entries. Useful in conjunction with upcoming prev_dir and next_dir navigation actions.
-
guns authored
We did not preload when SORT_MTIME, so check opt.sort > SORT_MTIME before offering to sort by file size. The CB_* enum block was run through s/, /,\n\t/g for legibility.
-
- May 27, 2016
-
-
Birte Kristina Friesel authored
previously, a button/key definition with an invalid action name would assign the specified key to the most recent valid action. E.g. "zoom_in 4\ninvalid 5" wuold assign button 5 to zoom_in.
-
Birte Kristina Friesel authored
-
- May 05, 2016
-
-
derf authored
src/main.c: switch spaces to tabs to clobber GCC warning
-
Daniel Lockyer authored
-
- May 03, 2016
-
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
- May 02, 2016
-
-
Daniel Lockyer authored
-
Birte Kristina Friesel authored
-
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
-
- May 01, 2016
-
-
Daniel Lockyer authored
-
Daniel Lockyer authored
The if statements are needed because we cannot pass a NULL pointer to XFree.
-
derf authored
src/feh_png.c: close file upon error
-
Daniel Lockyer authored
-
- Apr 28, 2016
-
-
Birte Kristina Friesel authored
-
- Apr 25, 2016
-
-
Birte Kristina Friesel authored
-
- Apr 24, 2016
-
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
- Apr 16, 2016
-
-
Birte Kristina Friesel authored
-
Birte Kristina Friesel authored
-
- Apr 15, 2016
-
-
Birte Kristina Friesel authored
-
- Apr 14, 2016
-
-
Birte Kristina Friesel authored
-
- Apr 13, 2016
-
-
Birte Kristina Friesel authored
-
- Apr 09, 2016
-
-
Birte Kristina Friesel authored
-