1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-04 01:57:46 +02:00

Compare commits

...

3 Commits

Author SHA1 Message Date
2b62eb1fbf nvim: compiler cleanup 2022-04-29 15:32:19 +02:00
3ef134f27c vifm: added webp preview and viewer 2021-12-21 04:26:50 +01:00
c3ddccfa5e mime: changed standard programs 2021-12-09 16:45:23 +01:00
3 changed files with 19 additions and 9 deletions

View File

@ -2,6 +2,7 @@
text/plain=text.desktop;
text/x-shellscript=text.desktop;
application/pdf=pdf.desktop;
application/epub+zip=pdf.desktop;
image/png=img.desktop;
image/jpeg=img.desktop;
image/gif=img.desktop;
@ -16,3 +17,12 @@ application/x-extension-shtml=browser.desktop
application/xhtml+xml=browser.desktop
application/x-extension-xhtml=browser.desktop
application/x-extension-xht=browser.desktop
x-scheme-handler/discord-610508934456934412=discord-610508934456934412.desktop
x-scheme-handler/mailto=userapp-Thunderbird-ANNRB1.desktop
message/rfc822=userapp-Thunderbird-ANNRB1.desktop
x-scheme-handler/mid=userapp-Thunderbird-ANNRB1.desktop
[Added Associations]
x-scheme-handler/mailto=userapp-Thunderbird-ANNRB1.desktop;
x-scheme-handler/mid=userapp-Thunderbird-ANNRB1.desktop;
application/rss+xml=firefox.desktop;

View File

@ -235,17 +235,17 @@ filetype *.[1-8] man ./%c
fileviewer *.[1-8] man ./%c | col -b
" Images
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.webp
\ {View in sxiv}
\ sxiv -ia %c %d &,
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ vifmimg draw %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,*.webp
\ vifmimg draw %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.gif
\ vifmimg gifpreview %px %py %pw %ph %c
\ %pc
\vifmimg clear
\ vifmimg gifpreview %px %py %pw %ph %c
\ %pc
\vifmimg clear
" OpenRaster
filextype *.ora

View File

@ -37,7 +37,7 @@ case "$file" in
*\.js) node "$file" ;;
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
*\.nim) nim c -r -d:noColors "$file" ;;
*\.py) python3 "$file" ;;
*\.py) python "$file" ;;
*\.go) go run "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;