mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add support for terminal window swallowing
This commit is contained in:
parent
900f5f2706
commit
2446789d25
|
@ -12,7 +12,7 @@ set scrolloff 5
|
|||
cmd open ${{
|
||||
case $(file --mime-type "$f" -bL) in
|
||||
text/*|application/json) $EDITOR "$f";;
|
||||
*) xdg-open "$f" ;;
|
||||
*) devour xdg-open "$f" ;;
|
||||
esac
|
||||
}}
|
||||
|
||||
|
|
|
@ -103,6 +103,13 @@ alias mergepdf='gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=_merged.p
|
|||
alias encrypt='gpg -c --no-symkey-cache --cipher-algo AES256' # Encrypt file with AES256 symetric encryption
|
||||
alias decrypt='gpg' # For the sake of completeness, include decrypt command to the above, though it's only just gpg alias
|
||||
|
||||
# Terminal window swallowing for blocking programs (devour)
|
||||
alias xdg-open='devour xdg-open'
|
||||
alias mpv='devour mpv'
|
||||
alias nomacs='devour nomacs'
|
||||
alias pcmanfm='devour pcmanfm'
|
||||
alias spotify='devour spotify'
|
||||
|
||||
# Regular expressions
|
||||
alias reg_email='echo "[a-Z0-9._%-]+@[a-Z0-9.-]+\.[a-Z]{2,10}"'
|
||||
alias reg_mac='echo "([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}"'
|
||||
|
|
|
@ -134,6 +134,7 @@ aur:
|
|||
|
||||
# WM/Xorg
|
||||
- picom-git # Git version of picom compositor
|
||||
- devour # WM agnostic window swallowing for terminals
|
||||
|
||||
# GUI
|
||||
- spotify # Online music player
|
||||
|
|
Loading…
Reference in a new issue