Make sure you have installed the following commands:
- swaymsg
- jq
- slurp
- awk
❯ cargo build --release | |
Compiling tabnine_chat v0.1.0 (/home/matthew/.local/share/nvim/site/pack/packer/start/tabnine-nvim/chat) | |
error: linking with `cc` failed: exit status: 1 | |
| | |
= note: LC_ALL="C" PATH="/home/matthew/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/matthew/.config/nvm/versions/node/v19.4.0/bin:/home/matthew/.pyenv/shims:/home/matthew/.pyenv/bin:/home/matthew/.pyenv/plugins/pyenv-virtualenv/shims:/home/matthew/.zinit/polaris/bin:/usr/local/alternatives:/home/matthew/.pyenv/bin:/home/matthew/.pyenv/bin:/home/matthew/.local/bin:/home/matthew/bin:/usr/local/alternatives:/home/matthew/.pyenv/bin:/home/matthew/.pyenv/bin:/home/matthew/.local/bin:/home/matthew/bin:/home/matthew/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/usr/lib/rustup/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcezJk03/symbols.o" "/home/matthew/.local/share/nvim/site/pack/packer/start/tabnine- |
#!/bin/bash | |
# Default acpi script that takes an entry for all actions | |
case "$1" in | |
button/power) | |
case "$2" in | |
PBTN|PWRF) | |
logger 'PowerButton pressed' | |
;; | |
*) |
Showing sensors:
$ sudo systemctl tlp enable --now
Remapping caps lock:
#!/bin/bash | |
# harfbuzz | |
git clone https://github.com/harfbuzz/harfbuzz.git | |
cd harfbuzz | |
./autogen.sh | |
make -j8 | |
cd .. | |
# libpng16 | |
if ! [ -e libpng-1.6.34.tar.xz ]; then |
#!/bin/bash | |
echo "$@" | |
LD_PRELOAD=$HOME/kitty/libpng-1.6.32/.libs/libpng16.so:$HOME/kitty/harfbuzz/src/.libs/libharfbuzz.so python3 $HOME/kitty "$@" |
#!/bin/bash | |
trap cleanup INT TERM | |
cleanup() { | |
if [ -a "$AUTO" ]; then | |
rm "$AUTO" | |
fi | |
if [ -a "$MANUAL" ]; then | |
rm "$MANUAL" |