alias 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #!/bin/bash
  2. # Подключение алиасов в .bashrc
  3. # [ -f ~/.alias ] && source ~/.alias
  4. # xbacklight -set 40 настройка яркости
  5. # export BROWSER='qutebrowser'
  6. #
  7. # alias fd='sudo fdisk -l'
  8. # alias mount=udiskie
  9. # alias umount='udiskie-umount --detach /run/media/pvit/'
  10. # alias rm='rm -rf '
  11. # alias prog='xprop | grep WM_CLASS'
  12. # alias sdn='shutdown -h now'
  13. # -------------------------------------
  14. # exports ---------------------------------------------------------------------
  15. export EDITOR='nvim'
  16. # PROGRAMS --------------------------------------------------------------------
  17. alias r='ranger'
  18. alias ya='yazi'
  19. alias shred='shred -zvu'
  20. alias sx='startx'
  21. alias ttyc='tty-clock -bcs -B -C6'
  22. alias calc='calcurse'
  23. alias cct='calcurse -at'
  24. alias ht='htop'
  25. alias f='fish'
  26. alias lg='lazygit'
  27. alias v='nvim'
  28. # NAVIGATION ------------------------------------------------------------------
  29. alias lt='exa -la --tree --level=2 --icons'
  30. alias l='exa -l'
  31. alias ll='exa -la'
  32. # GIT -------------------------------------------------------------------------
  33. alias gcd="git commit -m (date '+%d-%m-%Y %H:%M:%S')"
  34. # WEATHER ---------------------------------------------------------------------
  35. alias wttr='curl wttr.in/Simferopol,Russia'
  36. alias moon='curl wttr.in/moon'
  37. # YOUTUBE-DL MPV --------------------------------------------------------------
  38. # alias ydm='echo youtube-dl -f "bestaudio/best" -ciw -o "%(title)s.%(ext)s" -v --extract-audio --audio-quality 0'
  39. # alias ydv="echo youtube-dl -f best -u 'uname' -p 'password' -cwi -a "
  40. # alias ydy='echo youtube-dl -f best -cwi'
  41. # alias ydm='youtube-dl -f "bestaudio/best" -ciw -o "%(title)s.%(ext)s" -v --extract-audio --audio-quality 0'
  42. # alias ydv="youtube-dl -f best -u 'uname' -p 'password' -cwi -a "
  43. # alias ydy='youtube-dl -f best -cwi'
  44. alias ydm="yt-dlp -f 'bestaudio/best' -ciw -o '%(title)s.%(ext)s' -v --extract-audio --audio-quality 0"
  45. alias ydv="yt-dlp -f 'bestvideo/best,bestaudio/best' -u 'uname' -p 'password' -cwi -a "
  46. alias ydy="yt-dlp -f 'bestvideo/best,bestaudio/best' -cwi -o '%(playlist_index)s-%(title)s.%(ext)s' "
  47. alias yd="yt-dlp -f 'bestvideo/best,bestaudio/best' -cwi -o '%(playlist_index)s-%(title)s.%(ext)s' "
  48. # RESET XINIT -----------------------------------------------------------------------
  49. alias rx='source ~/.xinitrc'
  50. # RADIO -----------------------------------------------------------------------
  51. alias radio="mpv http://79.120.77.11:8002/deathmetal"
  52. alias symphony="mpv http://79.111.14.76:8000/symphony"
  53. alias ff=far2l
  54. # CONFIGS -----------------------------------------------------------------------
  55. alias nconf="cd ~/.config/nvim/ && nvim ."
  56. # Copy Pass
  57. alias cpri="cp ~/Documents/_Sync/Temp/Private/Passwords.kdbx ~/.upr/kpa/"
  58. alias fp="fish --private"
  59. #TMUX ----------------------------------------------------------------------------
  60. alias tx="tmuxinator"