* maimpick delay for proper screenshots
An extra delay is needed for {window, full}-screenshots to prevent the
dmenu prompt from showing; example attached.
As of this writing I'm thinking the delay may vary depending on several
factors, to name a few... dmenu patches, compositor animations, etc.
* refactor to extract commonly used commands
* Fixed peertubetorrent
Because of https://github.com/Chocobozzz/PeerTube/pull/3746, the torrent URL is now different from the normal video url. This means the peertube API is needed to get the new torrent link.
* No more soyregex (and use built-in curl silent option)
* Add 360p quality in the description
* Simpler regex
* Parenthesize variables
fallback to using mediainfo when ffmpegthumbnailer or pdftoppm is not available.
correct terminal width for bat.
use cut instead of awk for efficiency.
improve spacing/indentation for the sake of consistency in code.
Uses the "altwin:menu" option from setxkbmap to map the menu key to right super instead of xmodmap, which is deprecated. setxkbmap's options can be viewed with "man xkeyboard-config". Also tried to make the comment for the xset rate change more helpful.
* Replace youtube-dl with yt-dlp in qndl
* Replace youtube-dl with yt-dlp in dmenuhandler
* Replace youtube-dl with yt-dlp in newsboat config
* Replace youtube-dl with yt-dlp in aliasrc
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
This will allow using the mappings in the vim command line.
Here the leader is ";"
So here `:e ;cfz` typed fast will expand into
`:e /home/user/.config/zsh/.zshrc`.
This is more helpful with :sp, :vs, :cd or anywhere where a file or
a directory is expected in the vim command line.
This caused no effect for the first call to ToggleHiddenAll().
The second call works as value was set correctly inside
ToggleHiddenAll() on the first call.
Vimwiki is not config but it's data so ".local/share/nvim" is
more proper location for it.
Here relative path was given so it tries to create new vimwiki
folder when launched from other than home dir or changing current
dir using `:cd <path>` inside vim when launching vimwiki.