40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
Use this file as a post-it for packages to install on laptop/desktop.
|
|
|
|
add notation about awk as
|
|
Select everything but the second field:
|
|
awk '!($2="")'
|
|
|
|
add notation about tr (translate command):
|
|
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
|
|
|
|
add notation about using pick to parse through output, and pipe that using xargs to another command:
|
|
example:
|
|
ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick)
|
|
|
|
Install pipewire:
|
|
|
|
doas pacman -S pipewire pipewire-pulse pipewire-jack wireplumber lib32-pipewire lib32-pipwire-jack lib32-pipewire-v4l2 qastools
|
|
|
|
Copy .xinitrc which now calls pipewire
|
|
|
|
cp ~/Documents/notes/xinitrc.txt ~/.xinitrc
|
|
|
|
Update neovim:
|
|
|
|
cp ~/Documents/notes/nvim/lua/packages.lua ~/.config/nvim/lua/
|
|
cp ~/Documents/notes/nvim/lua/keybindings.lua ~/.config/nvim/lua/
|
|
|
|
nvim
|
|
:PackerSync
|
|
|
|
Update shell project:
|
|
|
|
cproj
|
|
git pull
|
|
|
|
Install hwinfo and hdparm and pfetch
|
|
|
|
doas pacman -S hwinfo hdparm pfetch
|