diff --git a/.config/vifm/vifminfo b/.config/vifm/vifminfo index dcdc433..d50e0de 100644 --- a/.config/vifm/vifminfo +++ b/.config/vifm/vifminfo @@ -373,36 +373,6 @@ d/home/sophon/Programming/ITS-Projekt/wetterstation-raspberry-pi/docs d # Right window history (oldest to newest): -D/home/sophon - Downloads -3 -D/home/sophon/Downloads - suckless-st -3 -D/home/sophon - Programming -7 -D/home/sophon/Programming - latex -4 -D/home/sophon/Programming/latex - test.tex -7 -D/home/sophon/Programming - ITS-Projekt -1 -D/home/sophon/Programming/ITS-Projekt - wetterstation-raspberry-pi -1 -D/home/sophon/Programming/ITS-Projekt/wetterstation-raspberry-pi - docs -1 -D/home/sophon/Programming/ITS-Projekt/wetterstation-raspberry-pi/docs - wetterstation-dokumentation.pdf -8 -D/home/sophon/Programming/ITS-Projekt/wetterstation-raspberry-pi - docs -1 D/home/sophon/Programming/ITS-Projekt/wetterstation-raspberry-pi/docs wetterstation-dokumentation.aux 1 @@ -671,8 +641,38 @@ D/home/sophon/Downloads JSesh-7.3.2.zip 7 D/home/sophon/Pictures/Wallpapers - wp1895648.jpg -41 + Landscape +1 +D/home/sophon/Pictures/Wallpapers/Landscape + QvnEmuA.jpg +8 +D/home/sophon/.config + vifm +32 +D/home/sophon/.config/vifm + scripts +2 +D/home/sophon/.config/vifm/scripts + vifmrun +3 +D/home/sophon/.config/vifm + scripts +2 +D/home/sophon/Documents + .. +0 +D/home/sophon/Downloads + 0xbabaf000l.png +7 +D/home/sophon/Programming + ITS-Projekt +1 +D/home/sophon + Programming +22 +D/home + sophon +1 D # Command line history (oldest to newest): @@ -739,6 +739,7 @@ D /read # Prompt history (oldest to newest): +pQvnEmuA.jpg p.mbsyncrc pTheIntricacies17042020.odt p20200415180403_IMG_5995_copy_4500x3000.jpg @@ -756,6 +757,7 @@ p2020-04-19-adventure-part-6.md pscripts # Local filter history (oldest to newest): +|mailcap |e |config @@ -874,6 +876,8 @@ t/home/sophon/.local/share/vifm/Trash/000_EGypto.pdf /home/sophon/Documents/EGypto.pdf t/home/sophon/.local/share/vifm/Trash/000_wetter.odt /home/sophon/Programming/ITS-Projekt/wetterstation-raspberry-pi/docs/wetter.odt +t/home/sophon/.local/share/vifm/Trash/000_QvnEmuA(1).jpg + /home/sophon/Pictures/Wallpapers/Landscape/QvnEmuA(1).jpg # State: f diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 50c0a08..1e62ba1 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -459,7 +459,7 @@ nnoremap cc cw nnoremap A cw " Open console in current directory -nnoremap ,t :!xterm & +nnoremap ,t :!st & " Open editor to edit vifmrc and apply settings after returning to vifm nnoremap ,c :write | edit $MYVIFMRC | restart diff --git a/.config/vimb/closed b/.config/vimb/closed index cc15987..3e86402 100644 --- a/.config/vimb/closed +++ b/.config/vimb/closed @@ -1,10 +1,10 @@ -https://web.whatsapp.com/ -https://gitlab.com/csb-me/ise9a/wetterstation-raspberry-pi -https://github.com/LukeSmithxyz/mutt-wizard/issues -https://mail.google.com/mail/u/0/h/1dk5z0qwr415n/?&s=l&l=Perry-Rhodan -https://support.google.com/mail/answer/15049?hl=en -http://web.telegram.org/ -https://www.notebookcheck.net/Review-IBM-Lenovo-Thinkpad-T60.1294.0.html -https://www.blackarch.org/faq.html -https://fanglingsu.github.io/vimb/howto.html -https://mesg.ebay.de/mesgweb/ViewMessageDetail/0/All/124794627711 +https://www.google.de/ +about:blank +https://duckduckgo.com/html/?q=ThinkPad%20T60 +https://duckduckgo.com/html/?q=ThinkPad%20T60 +https://duckduckgo.com/html/?q=thinkpad%20t60 +about:blank +http://tools.suckless.org/tabbed/ +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/ +https://en.wikipedia.org/wiki/WYSIWYG diff --git a/.config/vimb/command b/.config/vimb/command index 7e9f15a..9c00e38 100644 --- a/.config/vimb/command +++ b/.config/vimb/command @@ -101,3 +101,70 @@ open thesaurus deutsch open gitlab.com open web.whatsapp.com q +open gitlab.com +open web.whatsapp.com +q +open t60 +open tuir open images in sxiv +open tuir open image in imageviewer +open tuir +open mailcap links +open tuir mailcap +open vim.org +open vim +tabopen WYSIWYG +q +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +e! simplyread(); +tabopen marvinjohanning.de +open html img size percent +open marvinjohanning.de +open php inline code +open marvinjohanning.de +open load php script php +open marvinjohanning.de +source +show-source +reloda +reload +open suckless.org +open thinkpad t60 +open thinkpad t60 +open thinkpad t60 +open thinkpad t60 +open thinkpad t60 +thinkpad t60 +open thinkpad t60 +open ThinkPad T60 +open ThinkPad T60 +open ThinkPad T60 +q +open google.de diff --git a/.config/vimb/cookies.db b/.config/vimb/cookies.db index 47679b2..110c340 100644 Binary files a/.config/vimb/cookies.db and b/.config/vimb/cookies.db differ diff --git a/.config/vimb/history b/.config/vimb/history index 29ad3bf..9cef742 100644 --- a/.config/vimb/history +++ b/.config/vimb/history @@ -242,3 +242,122 @@ https://www.openthesaurus.de/ Synonyme - OpenThesaurus - Deutscher Thesaurus https://gitlab.com/ Projects · Dashboard · GitLab https://gitlab.com/csb-me/ise9a/wetterstation-raspberry-pi CSB-ME / ISE9A / Wetterstation Raspberry Pi · GitLab https://web.whatsapp.com/ WhatsApp Web +https://gitlab.com/ Projects · Dashboard · GitLab +https://gitlab.com/mjohanning/dotfiles Marvin Johanning / dotfiles · GitLab +https://gitlab.com/mjohanning/dotfiles/-/tree/IBM-T60 Files · IBM-T60 · Marvin Johanning / dotfiles · GitLab +https://web.whatsapp.com/ WhatsApp Web +https://duckduckgo.com/html/?q=t60 t60 at DuckDuckGo +https://duckduckgo.com/html/?q=tuir%20open%20images%20in%20sxiv tuir open images in sxiv at DuckDuckGo +https://duckduckgo.com/html/?q=tuir%20open%20image%20in%20imageviewer tuir open image in imageviewer at DuckDuckGo +https://duckduckgo.com/html/?q=tuir tuir at DuckDuckGo +https://duckduckgo.com/html/?q=mailcap%20links mailcap links at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMailcap +https://en.wikipedia.org/wiki/Mailcap Media type - Wikipedia +https://duckduckgo.com/html/?q=mailcap%20links mailcap links at DuckDuckGo +https://duckduckgo.com/html/?q=tuir%20mailcap tuir mailcap at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fpypi.org%2Fproject%2Ftuir%2F +https://pypi.org/project/tuir/ tuir · PyPI +https://pypi.org/project/tuir/tuir/templates/mailcap Page Not Found (404) · PyPI +http://vim.org/ +https://duckduckgo.com/html/?q=vim vim at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fwww.vim.org%2F +https://www.vim.org/ welcome home : vim online +https://iccf-holland.org/vim_books.html ICCF Holland - Vim books +https://iccf-holland.org/vim_books.html Mastering Vim: Build a software development environment with Vim and Neovim English Edition: Amazon.de: Osipov, Ruslan: Fremdsprachige Bücher +https://iccf-holland.org/vim_books.html ICCF Holland - Vim books +https://www.vim.org/ welcome home : vim online +https://www.vim.org/sponsor/index.php sponsor Vim development : vim online +https://www.vim.org/sponsor/faq.php Vim registration and sponsor FAQ : vim online +https://www.vim.org/tips/index.php tips : vim online +https://vim.fandom.com/wiki/Vim_Tips_Wiki Vim Tips Wiki | Fandom +https://www.vim.org/tips/index.php tips : vim online +https://www.vim.org/about.php about Vim : vim online +https://duckduckgo.com/html/?q=WYSIWYG WYSIWYG at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWYSIWYG +https://en.wikipedia.org/wiki/WYSIWYG WYSIWYG - Wikipedia +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6k/features.de.txt +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6k/features.de.txt +https://www.vim.org/6k/features.de.txt +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://duckduckgo.com/html/?q=WYSIWYG Vim in 6 Kbyte : vim online +https://duckduckgo.com/html/?q=WYSIWYG WYSIWYG at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fcast%2Dsoft.com%2Fwysiwyg%2Dlighting%2Ddesign%2F +https://www.vim.org/6kbyte.php wysiwyg Lighting Design – CAST Software +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6k/features.en.txt +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/about.php about Vim : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://iccf-holland.org/clickkindle.html Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://iccf-holland.org/vim_books.html ICCF Holland - Vim books +https://iccf-holland.org/themovie.html ICCF Holland - The Movie +https://iccf-holland.org/vim_books.html ICCF Holland - Vim books +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/6kbyte.php Vim in 6 Kbyte : vim online +https://www.vim.org/scripts/index.php scripts : vim online +https://www.vim.org/login.php account info : vim online +https://www.vim.org/ welcome home : vim online +https://www.vim.org/about.php about Vim : vim online +https://www.vim.org/viusers.php for Vi users : vim online +https://www.vim.org/trivia.php Vim trivia : vim online +https://www.vim.org/buttons.php buttons : vim online +https://marvinjohanning.de/ +https://marvinjohanning.de/ +https://marvinjohanning.de/ +https://duckduckgo.com/html/?q=html%20img%20size%20percent html img size percent at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F3396475%2Fspecifying%2Dwidth%2Dand%2Dheight%2Das%2Dpercentages%2Dwithout%2Dskewing%2Dphoto%2Dproportions%2Din +https://stackoverflow.com/questions/3396475/specifying-width-and-height-as-percentages-without-skewing-photo-proportions-in image - Specifying width and height as percentages without skewing photo proportions in HTML - Stack Overflow +https://marvinjohanning.de/ +https://marvinjohanning.de/ +https://marvinjohanning.de/ +https://marvinjohanning.de/ +https://duckduckgo.com/html/?q=php%20inline%20code php inline code at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fwww.w3schools.com%2Fphp%2Fphp_syntax.asp +https://www.w3schools.com/php/php_syntax.asp PHP Syntax +https://marvinjohanning.de/ +https://marvinjohanning.de/egyptian/index.php +https://duckduckgo.com/html/?q=load%20php%20script%20php load php script php at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F46871706%2Fhow%2Dto%2Dexecute%2Dphp%2Dcode%2Dafter%2Dhtml%2Dpage%2Dload +https://stackoverflow.com/questions/46871706/how-to-execute-php-code-after-html-page-load javascript - How to execute php code after html page load - Stack Overflow +https://stackoverflow.com/questions/46871706/how-to-execute-php-code-after-html-page-load javascript - How to execute php code after html page load - Stack Overflow +https://marvinjohanning.de/ +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/ +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/egyptian/index.php +https://marvinjohanning.de/ +https://marvinjohanning.de/ +https://marvinjohanning.de/egyptian/index.php +http://suckless.org/ software that sucks less | suckless.org software that sucks less +http://ev.suckless.org/ e.V. | suckless.org software that sucks less +http://libs.suckless.org/ libraries | suckless.org software that sucks less +http://tools.suckless.org/ tools | suckless.org software that sucks less +http://tools.suckless.org/x/ tools | suckless.org software that sucks less +http://tools.suckless.org/tabbed/ tools | suckless.org software that sucks less +https://duckduckgo.com/html/?q=thinkpad%20t60 thinkpad t60 at DuckDuckGo +https://duckduckgo.com/html/?q=thinkpad%20t60 thinkpad t60 at DuckDuckGo +https://duckduckgo.com/html/?q=thinkpad%20t60 thinkpad t60 at DuckDuckGo +https://duckduckgo.com/html/?q=thinkpad%20t60 thinkpad t60 at DuckDuckGo +https://duckduckgo.com/html/?q=thinkpad%20t60 thinkpad t60 at DuckDuckGo +https://duckduckgo.com/html/?q=thinkpad%20t60 thinkpad t60 at DuckDuckGo +https://duckduckgo.com/html/?q=ThinkPad%20T60 ThinkPad T60 at DuckDuckGo +https://duckduckgo.com/html/?q=ThinkPad%20T60 ThinkPad T60 at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fthinkpads.com%2Fsupport%2FThinkpad%2DDrivers%2Fdownload.lenovo.com%2Flenovo%2Fcontent%2Fddfm%2FT60p.html +https://thinkpads.com/support/Thinkpad-Drivers/download.lenovo.com/lenovo/content/ddfm/T60p.html +https://duckduckgo.com/html/?q=ThinkPad%20T60 ThinkPad T60 at DuckDuckGo +https://duckduckgo.com/html/?q=ThinkPad%20T60 ThinkPad T60 at DuckDuckGo +https://duckduckgo.com/l/?kh=-1&uddg=https%3A%2F%2Fthinkpads.com%2Fsupport%2FThinkpad%2DDrivers%2Fdownload.lenovo.com%2Flenovo%2Fcontent%2Fddfm%2FT60p.html +https://thinkpads.com/support/Thinkpad-Drivers/download.lenovo.com/lenovo/content/ddfm/T60p.html diff --git a/.i3/config b/.i3/config index 81a3503..dc2fcdb 100644 --- a/.i3/config +++ b/.i3/config @@ -59,7 +59,7 @@ bindsym $mod+Ctrl+b exec st -e 'bmenu' bindsym $mod+F2 exec chromium bindsym $mod+F3 exec st -e vifmrun bindsym $mod+Shift+F3 exec gksu pcmanfm -bindsym $mod+F4 exec "vimb" +bindsym $mod+F4 exec "tabbed -c vimb -e" bindsym $mod+F5 exec st -e 'mocp' bindsym $mod+t exec --no-startup-id pkill compton bindsym $mod+Ctrl+t exec --no-startup-id compton -b @@ -81,7 +81,7 @@ mode "$mode_launcher" { bindsym n exec nemo bindsym c exec calibre bindsym d exec discord - bindsym r exec st -e "tuir" + bindsym r exec st -e "tuir --enable-media" bindsym w exec whatsapp-nativefier bindsym t exec telegram-desktop @@ -326,14 +326,14 @@ exec --no-startup-id ibus-daemon exec --no-startup-id wal -R exec_always wal -R -# Color palette used for the st ( ~/.extend.Xresources file ) +# Color palette used for the terminal ( ~/.extend.Xresources file ) # Colors are gathered based on the documentation: # https://i3wm.org/docs/userguide.html#xresources # Change the variable name at the place you want to match the color -# of your st like this: +# of your terminal like this: # [example] # If you want your bar to have the same background color as your -# st background change the line 362 from: +# Terminal background change the line 362 from: # background $i3_background # to: # background $term_background diff --git a/.mailcap b/.mailcap new file mode 100644 index 0000000..681c32d --- /dev/null +++ b/.mailcap @@ -0,0 +1,72 @@ +# Example mailcap file for Terminal UI for Reddit +# https://gitlab.com/ajak/tuir/ +# +# Copy the contents of this file to {HOME}/.mailcap, or point to it using $MAILCAPS +# Then launch TUIR using the --enable-media flag. All shell commands defined in +# this file depend on external programs that must be installed on your system. +# +# HELP REQUESTED! If you come up with your own commands (especially for OS X) +# and would like to share, please post an issue on the GitHub tracker and we +# can get them added to this file as references. +# +# +# Mailcap 101 +# - The first entry with a matching MIME type will be executed, * is a wildcard +# - %s will be replaced with the image or video url +# - Add ``test=test -n "$DISPLAY"`` if your command opens a new window +# - Add ``needsterminal`` for commands that use the terminal +# - Add ``copiousoutput`` for commands that dump text to stdout + +############################################################################### +# Commands below this point will open media in a separate window without +# pausing execution of TUIR. +############################################################################### + +# Feh is a simple and effective image viewer +# Note that tuir returns a list of urls for imgur albums, so we don't put quotes +# around the `%s` +image/x-imgur-album; feh -g 640x480 -. %s; test=test -n "$DISPLAY" +image/gif; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY" +image/*; feh -g 640x480 -. '%s'; test=test -n "$DISPLAY" + +# Youtube videos are assigned a custom mime-type, which can be streamed with +# vlc or youtube-dl. +video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY" +video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit 640x480; test=test -n "$DISPLAY" + +# Mpv is a simple and effective video streamer +video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY" + +text/html; w3m %s + +############################################################################### +# Commands below this point will attempt to display media directly in the +# terminal when a desktop is not available (e.g. inside of an SSH session) +############################################################################### + +# View images directly in your terminal with iTerm2 +# curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash +# image/*; bash -c '[[ "%s" == http* ]] && (curl -s %s | ~/.iterm2/imgcat) || ~/.iterm2/imgcat %s' && read -n 1; needsterminal + +# View true images in the terminal, supported by rxvt-unicode, xterm and st +# Requires the w3m-img package +# image/*; w3m -o 'ext_image_viewer=off' '%s'; needsterminal + +# Don't have a solution for albums yet +image/x-imgur-album; echo + +# 256 color images using half-width unicode characters +# Much higher quality that img2txt, but must be built from source +# https://github.com/rossy/img2xterm +image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/tuir.jpg && img2xterm /tmp/tuir.jpg; needsterminal; copiousoutput + +# Display images in classic ascii using img2txt and lib-caca +image/*; curl -s '%s' | convert - jpg:/tmp/tuir.jpg && img2txt -f utf8 /tmp/tuir.jpg; needsterminal; copiousoutput + +# Full motion videos - requires a framebuffer to view +video/x-youtube; mpv -vo drm -quiet '%s'; needsterminal +video/*; mpv -vo drm -quiet '%s'; needsterminal + +# Ascii videos +# video/x-youtube; youtube-dl -q -o - '%s' | mplayer -cache 8192 -vo caca -quiet -; needsterminal +# video/*; wget '%s' -O - | mplayer -cache 8192 -vo caca -quiet -; needsterminal