.bash_aliases 1.4 KB

12345678910111213141516
  1. alias aur_update='for dir in ~/aur/*; do (cd "$dir" && pwd && git pull); done'
  2. alias syncthing='syncthing -no-browser'
  3. #alias newsboat_news='newsboat -r -u ~/.newsboat/urls_news -c ~/.newsboat/cache_news.db -C ~/.newsboat/config_news'
  4. #alias newsboat_video='newsboat -r -u ~/.newsboat/urls_videos -c ~/.newsboat/cache_videos.db -C ~/.newsboat/config_videos'
  5. #alias newsboat_downloads='newsboat -r -u ~/.newsboat/urls_downloads -c ~/.newsboat/cache_downloads.db -C ~/.newsboat/config_downloads'
  6. alias newsboat='newsboat -r -u ~/.newsboat/urls -c ~/.newsboat/cache.db -C ~/.newsboat/config'
  7. alias ll='ls --color=auto -lahF'
  8. alias mpvyt="mpv --ytdl-format='bestvideo[ext=mp4][height<=?720]+bestaudio[ext=m4a]'"
  9. alias getBatt='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
  10. alias getBattBrief='upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "state|time\ to\ |percentage"'
  11. alias getBattPercent="upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep 'percentage' | awk '{print $2}'":
  12. alias getVulnerabilities='grep -RHe "^" /sys/devices/system/cpu/vulnerabilities'
  13. alias getAudioMaster="amixer sget Master | grep 'Right:' | awk -F'[][]' '{print $2}'"
  14. alias dim="echo $(tput cols)x$(tput lines)"
  15. alias systemstats='echo "== Disks ==" && df -h && echo "== Memory ==" && free -h && echo "== CPU ==" && cat /proc/cpuinfo | grep "cpu MHz" && echo "== TEMP ==" && sensors | grep "°C"'