installed exa and speed-test, created aliases for both

This commit is contained in:
tomit4 2022-04-30 16:29:14 -07:00
parent d0ce2c2e45
commit 6a6b46a698
2 changed files with 10 additions and 56 deletions

View file

@ -32,8 +32,8 @@ alias fonts="fc-list"
alias locate="locate -i"
alias bat="bat --theme Nord"
alias batman="man bat"
alias li="ls -l --color=auto"
alias ll="ls -liasSh --color=auto"
alias li="exa -lh"
alias ll="exa -liah"
alias {lsdir,lsd}="ls -t -1" # list only the directories
alias lshw="doas lshw -short" # list hardware
alias of="onefetch -o yaml"
@ -93,6 +93,7 @@ alias {mysql,maria,mdb}="mariadb"
alias rsm="doas rsm"
alias updatedb="doas updatedb"
alias iftop-w="doas iftop -i wlan0 -P"
alias speedtest="speed-test"
# usage p0f -i wlan0
alias p0f="doas p0f"
alias vnstat-w="vnstat -i wlan0 --json | jq"
@ -115,7 +116,7 @@ alias {lsc,lscommits}="tig"
alias lxapp="lxappearance"
alias hd="ncdu"
alias xsel="xclip -sel clip"
alias catx="cat | xclip -sel clip"
alias catx="xclip -sel clip"
alias kitx="cat | kitty +kitten clipboard" # not as good as catx
alias mouse="mousepad"
alias xclear="echo '' | xclip && xclip -selection clipboard /dev/null"
@ -176,6 +177,7 @@ alias {cbmods,cybermods}="cd ~/.local/share/Steam/steamapps/common/Cyberpunk\ 20
# bookmarks
alias forums="librewolf https://forum.artixlinux.org/ &"
alias mirrors="links https://mirrors.dotsrc.org/artix-linux/"
alias smarden="links http://smarden.org/runit/"
alias codeberg="librewolf https://codeberg.org/ &"
alias sqlsc="links https://sqlservercentral.com"

View file

@ -5,61 +5,13 @@ Select everything but the second field:
awk '!($2="")'
add notation about tr (translate command):
replace every newline with a single space:
tr '\n' ' '
replace every newline with a single space: tr '\n' ' '
add notation about using find to list only files in current directory and NOT subdirectory:
find $dir -maxdepth 1 -type f
install vrms (because we all need a tiny richard stallman complaining about which packages on our computer actually aren't libre)
Install exa (colorized version of ls)
doas pacman -S exa
paru vrms
Install speed-test
install colordiff:
doas pacman -S colordiff
remove mplayer (stopped working, use mpv instead)
doas pacman -Rs mplayer
Note: You may need to add the postgresql runit script (and fudge about with postgresql)
as a recent update broke it on our desktop, and our laptop may need to make the same adjustment.
install rtorrent
doas pacman -S rtorrent
cp /usr/share/doc/rtorrent/rtorrent.rc ~/.rtorrent.rc
unccoment:
#directory.default.set = ./
and rewrite it as:
directory.default.set = ./Downloads
uncomment:
#session.path.set = ./session
and:
mkdir ~/session
uncomment:
#schedule2 = watch_directory,5,5,load.start=./watch/*.torrent
and:
mkdir ~/watch
uncomment:
#dht = auto
and rewrite it as:
dht = on
Whenever you download a torrent (from a browser)
move it from your ~/Downloads folder to your ~/watch
Then simply start
rtorrent
And it will look to watch and session to start/resume torrents
Once done, look in your ~/Downloads folder and it should be finished.
paru speed-test (choose 2 option, not .git version)