Fix simple errors

This commit is contained in:
Gabriel Brown 2024-06-09 05:05:28 -05:00
parent 314e5c9b8b
commit fd0fe84f3e
11 changed files with 34 additions and 15 deletions

View File

@ -0,0 +1 @@
$include ~/.local/share/omakub/defaults/bash/inputrc

View File

@ -4,6 +4,10 @@ HISTCONTROL=ignoreboth
HISTSIZE=32768
HISTFILESIZE="${HISTSIZE}"
# Editor used by CLI
export EDITOR="nvim"
export SUDO_EDITOR="nvim"
export SUNHAT_PATH="/home/$USER/.local/share/sunhat"
export BUN_INSTALL="$HOME/.bun"

View File

@ -1,6 +1,10 @@
[ -f "~/.bashrc" ] && mv ~/.bashrc ~/.bashrc.bak
cp ~/.local/share/sunhat/configs/rc/bashrc ~/.bashrc
mkdir ~/Documents/Configs
[ -f "~/.bashrc" ] && rm ~/.bashrc
cp ~/.local/share/sunhat/configs/rc/bashrc ~/Documents/Configs/bashrc
ln -s ~/Documents/Configs/bashrc ~/.bashrc
source ~/.bashrc
[ -f "~/.inputrc" ] && mv ~/.inputrc ~/.inputrc.bak
cp ~/.local/share/sunhat/configs/rc/inputrc ~/.inputrc
[ -f "~/.inputrc" ] && rm ~/.inputrc
cp ~/.local/share/sunhat/configs/rc/inputrc ~/Documents/Configs/inputrc
ln -s ~/Documents/Configs/inputrc ~/.inputrc

View File

@ -1,7 +1,7 @@
sudo dnf install -y @development-tools gcc-c++ wl-clipboard \
libxkbcommon-devel dbus-devel wxGTK-devel.x86_64
git clone https://github.com/federico-terzi/espanso ../packages/espanso/
cd ../packages/espanso
git clone https://github.com/federico-terzi/espanso ~/.local/share/sunhat/packages/espanso/
cd ~/.local/share/sunhat/packages/espanso
cargo install --force cargo-make --version 0.34.0
cargo make --profile release --env NO_X11=true build-binary
sudo mv target/release/espanso /usr/local/bin/espanso

View File

@ -1,6 +1,6 @@
git clone https://github.com/Antynea/grub-btrfs ../packages/grub-btrfs/
mv ../configs/grub-btrfs/config ./grub-btrfs/config
cd ../packages/grub-btrfs
git clone https://github.com/Antynea/grub-btrfs ~/.local/share/sunhat/packages/grub-btrfs/
mv ~/.local/share/sunhat/configs/grub-btrfs/config ~/.local/share/sunhat/grub-btrfs/config
cd ~/.local/share/sunhat/packages/grub-btrfs
sudo make install
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
sudo systemctl enable --now grub-btrfsd

11
install/app_sunshine.sh Normal file
View File

@ -0,0 +1,11 @@
sudo dnf copr enable matte-schwartz/sunshine
sudo dnf update -y --refresh
sudo dnf install -y sunshine
echo 'KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"' | \
sudo tee /etc/udev/rules.d/60-sunshine.rules
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo modprobe uinput
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
cp ~/.local/share/sunhat/configs/sunshine/sunshine.service ~/.config/systemd/user/sunshine.service
systemctl --user enable --now sunshine

View File

@ -1,5 +1,5 @@
git clone https://gitlab.gnome.org/philippun1/turtle ../packages/turtle/
cd ../packages/turtle/
git clone https://gitlab.gnome.org/philippun1/turtle ~/.local/share/sunhat/packages/turtle/
cd ~/.local/share/sunhat/packages/turtle/
python install.py install --user
pip3 install . --user
nautilus -q nautilus --no-desktop

View File

@ -1,4 +1,3 @@
#/bin/bash
cp $(which akmods) /tmp/akmods
sed -i 's/dnf -y install/dnf -y reinstall/' /tmp/akmods
perl -i -pe 'if (/check_kmod_up2date\(\)/) { $_ .= <>; s/\{\n/{ return 1\n/ }' /tmp/akmods

View File

@ -23,8 +23,8 @@ gext install Vitals@CoreCoding.com
gext install weatheroclock@CleoMenezesJr.github.io
gext install wifiqrcode@glerro.pm.me
# Install Hanabi
git clone https://github.com/jeffshee/gnome-ext-hanabi.git ../packages/hanabi
cd ../packages/hanabi
git clone https://github.com/jeffshee/gnome-ext-hanabi.git ~/.local/share/sunhat/packages/hanabi
cd ~/.local/share/sunhat/packages/hanabi
./run.sh install
# Compile gsettings schemas in order to be able to set them

View File

@ -1,2 +1,2 @@
tools=$(cat ./install/tools | tr "\n" " ")
tools=$(cat ~/.local/share/sunhat/sources/install/tools | tr "\n" " ")
sudo dnf install -y $tools