notes/updates.txt
2022-08-11 07:59:57 -07:00

85 lines
2.7 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)
https://medium.com/techie-delight/top-25-algorithms-every-programmer-should-know-373246b4881b
Look up the select command (online, man page is not as helpful). It makes a nice simple selectio menu for your users in bash
Install expac
doas pacman -S expac
Install pkgtop
curl https://raw.githubusercontent.com/SharUpOff/pkgtop/main/dist/pkgtop.sh -so - | sudo tee /usr/local/bin/pkgtop > /dev/null
sudo chmod 755 /usr/local/bin/pkgtop
Finally figured out how to get language servers working neovim, you have to npm install -g each of them from ~/.local/nvim/share/lsp-servers (note that there is still work to be done here...)
Download and install in virtmanager Windows 10 iso (for purposes of software tests)
Use this site (microsoft only has .exe now... 64 bit, version 21H2)
https://www.itechtics.com/windows-10-download-iso/
Install rustdesk-bin from aur (rustdesk by itself was not prepared correctly...)
paru rustdesk-bin
Install xfce4-screenshooter (it's just too useful by comparison to scrot...)
doas pacman -S xfce4-screenshooter
Install redshift and cp xinitrc.txt (change for laptop settings)
doas pacman -S redshift
cp ~/Documents/notes/xinitrc.txt ~/.xinitrc
Install sockstat:
paru sockstat
Install Firefox Translations on Librewolf (note Download File is now how you install)
Install espanso (use paru instead):
paru -S espanso
cd aur_packages
git clone https://github.com/espanso/espanso
Install wxwidgets
doas pacman -S wxwidgets
cd espanso
To turn off notifications, simply cp from this directory the notifications.rs file to the ~/aur_packages/espanso/espanso/src/cli/worker/ui/ directory before compiling.
cp ~/Documents/notes/espanso/notification.rs ~/aur_packages/espanso/espanso/src/cli/worker/ui/notification.rs
cargo install --force cargo-make --version 0.34.0
cargo make --profile release build-binary
doas mv target/release/espanso /usr/bin/espanso
Copy xinitrc.txt which calls espanso at beginning
cp ~/Documents/notes/xinitrc.txt ~/.xinitrc
Copy your base.yml to your espanso/match config directory
cp ~/Documents/notes/espanso/base.yml ~/.config/espanso/match/