fix some files and added dotfiles

This commit is contained in:
piccihud
2023-05-24 17:23:34 +02:00
parent d47acd2fec
commit cfeb3993e9
24 changed files with 2910 additions and 14 deletions

18
linux/feh/feh.md Normal file
View File

@ -0,0 +1,18 @@
# feh
feh è un visualizzatore minimale di immagini da terminale.
```bash
sudo apt install feh
```
Utile l'opzione `-m` per visualizzare tutte le immagini di una cartella.
In alternativa è possibile installare:
```bash
sudo apt gwenview
```
## Collegamenti
- [https://github.com/derf/feh/tree/master/examples](https://github.com/derf/feh/tree/master/examples)

View File

@ -1 +0,0 @@
/home/davide/.config/feh/keys

45
linux/feh/keys Normal file
View File

@ -0,0 +1,45 @@
# feh key configuration.
# Comments start with a # sign, do not use them mid-line.
# Each line must be blank, a comment, or a key definition.
#
# key definition: <action name> <key1> [<key2> [<key3>]]
#
# Each <key> is an X11 keysym (as output by xev) with optional modifier.
# For instance, C-x would be Ctrl+X, or 4-space Mod4+Space
# Examples for vim-like menu bindings on a qwerty keyboard:
menu_parent h Left
menu_child l Right
menu_down j Down
menu_up k Up
menu_select space Return
# Same for image navigation ...
next_img j Right space
prev_img k Left BackSpace
# and image movement
scroll_up J C-Up
scroll_down K C-Down
scroll_left H C-Left
scroll_right L C-Right
# File deletion
remove d Delete
delete C-d C-Delete
# remove now conflicts with toggle_filenames, so change that
toggle_filenames f
# zooming
zoom_in C-Up f
zoom_out C-Down a
zoom_default d
zoom_fit s
# I only hit these accidentally
save_image
save_filelist
# This leaves some conflicts with existing default bindings, but you should
# get the idea. And I'm not gonna fix the conflicts, I don't use qwerty ;-)

View File

@ -1 +0,0 @@
/home/davide/.config/feh/themes

63
linux/feh/themes Normal file
View File

@ -0,0 +1,63 @@
# Feh themes configuration file.
# Lines starting with # are comments. Midline comments are not supported.
# Place this as either ~/.config/feh/themes or /etc/feh/themes
# Options are defined in theme_name/options pairs.
# Separate themename and options by whitespace.
# There are two ways of specifying the theme. Either use feh -Tthemename,
# or use a symbolic link to feh with the name of the theme. eg
# ln -s `which feh` ~/bin/mkindex
# Now when you run 'mkindex', feh will load the config specified for the
# mkindex theme.
# Multiple options can of course be used. If they are too long for one line,
# you can use a \ to make them continue on the next one, but not mid-option.
# imagemap -rV --quiet -W 400 -H 300 \
# --thumb-width 40 --thumb-height 30
# ====================
# A few default themes
# ====================
feh --scale-down --auto-zoom
# Webcam mode, simply specify the url(s).
# e.g. feh -Twebcam http://cam1 http://cam2
webcam --multiwindow --reload 20
# Create an index of the current directory. This version uses . as the
# current dir, so you don't even need any commandline arguments.
mkindex -iVO index.jpg .
# More ambitious version...
imgidx --index --output-only .fehindex.jpg --limit-width 1024 \
--thumb-width 128 --thumb-height 128 --verbose --quiet
# Show a presentation
present --full-screen --sort name --hide-pointer
# Booth mode ;-)
booth --full-screen --hide-pointer --slideshow-delay 20
# Screw xscreensaver, use feh =)
screensave --recursive --full-screen --randomize --slideshow-delay 10 --hide-pointer
# Some more examples, used by the feh developer
rfs --full-screen --hide-pointer --auto-zoom --randomize
fs --full-screen --hide-pointer --auto-zoom --sort filename
#thumb_s --thumbnails --cache-thumbnails --thumb-width 128 --thumb-height 128 \
## --limit-width 1024 --sort filename \
## --fontpath /usr/share/fonts/truetype/ttf-dejavu/ --font DejaVuSans/8
##
##thumb_b --thumbnails --cache-thumbnails --thumb-width 256 --thumb-height 256 \
## --limit-width 1024 --sort filename \
## --fontpath /usr/share/fonts/truetype/ttf-dejavu/ --font DejaVuSans/8
##
##thumb_s_nt --thumbnails --cache-thumbnails --thumb-width 128 --thumb-height 128 \
## --limit-width 1024 --sort filename --index-name 0
##
##thumb_b_nt --thumbnails --cache-thumbnails --thumb-width 256 --thumb-height 256 \
## --limit-width 1024 --sort filename --index-name 0