Fix simple errors
This commit is contained in:
parent
314e5c9b8b
commit
fd0fe84f3e
@ -0,0 +1 @@
|
|||||||
|
$include ~/.local/share/omakub/defaults/bash/inputrc
|
@ -4,6 +4,10 @@ HISTCONTROL=ignoreboth
|
|||||||
HISTSIZE=32768
|
HISTSIZE=32768
|
||||||
HISTFILESIZE="${HISTSIZE}"
|
HISTFILESIZE="${HISTSIZE}"
|
||||||
|
|
||||||
|
# Editor used by CLI
|
||||||
|
export EDITOR="nvim"
|
||||||
|
export SUDO_EDITOR="nvim"
|
||||||
|
|
||||||
export SUNHAT_PATH="/home/$USER/.local/share/sunhat"
|
export SUNHAT_PATH="/home/$USER/.local/share/sunhat"
|
||||||
export BUN_INSTALL="$HOME/.bun"
|
export BUN_INSTALL="$HOME/.bun"
|
||||||
|
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
[ -f "~/.bashrc" ] && mv ~/.bashrc ~/.bashrc.bak
|
mkdir ~/Documents/Configs
|
||||||
cp ~/.local/share/sunhat/configs/rc/bashrc ~/.bashrc
|
|
||||||
|
[ -f "~/.bashrc" ] && rm ~/.bashrc
|
||||||
|
cp ~/.local/share/sunhat/configs/rc/bashrc ~/Documents/Configs/bashrc
|
||||||
|
ln -s ~/Documents/Configs/bashrc ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
||||||
[ -f "~/.inputrc" ] && mv ~/.inputrc ~/.inputrc.bak
|
[ -f "~/.inputrc" ] && rm ~/.inputrc
|
||||||
cp ~/.local/share/sunhat/configs/rc/inputrc ~/.inputrc
|
cp ~/.local/share/sunhat/configs/rc/inputrc ~/Documents/Configs/inputrc
|
||||||
|
ln -s ~/Documents/Configs/inputrc ~/.inputrc
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
sudo dnf install -y @development-tools gcc-c++ wl-clipboard \
|
sudo dnf install -y @development-tools gcc-c++ wl-clipboard \
|
||||||
libxkbcommon-devel dbus-devel wxGTK-devel.x86_64
|
libxkbcommon-devel dbus-devel wxGTK-devel.x86_64
|
||||||
git clone https://github.com/federico-terzi/espanso ../packages/espanso/
|
git clone https://github.com/federico-terzi/espanso ~/.local/share/sunhat/packages/espanso/
|
||||||
cd ../packages/espanso
|
cd ~/.local/share/sunhat/packages/espanso
|
||||||
cargo install --force cargo-make --version 0.34.0
|
cargo install --force cargo-make --version 0.34.0
|
||||||
cargo make --profile release --env NO_X11=true build-binary
|
cargo make --profile release --env NO_X11=true build-binary
|
||||||
sudo mv target/release/espanso /usr/local/bin/espanso
|
sudo mv target/release/espanso /usr/local/bin/espanso
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
git clone https://github.com/Antynea/grub-btrfs ../packages/grub-btrfs/
|
git clone https://github.com/Antynea/grub-btrfs ~/.local/share/sunhat/packages/grub-btrfs/
|
||||||
mv ../configs/grub-btrfs/config ./grub-btrfs/config
|
mv ~/.local/share/sunhat/configs/grub-btrfs/config ~/.local/share/sunhat/grub-btrfs/config
|
||||||
cd ../packages/grub-btrfs
|
cd ~/.local/share/sunhat/packages/grub-btrfs
|
||||||
sudo make install
|
sudo make install
|
||||||
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
|
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
|
||||||
sudo systemctl enable --now grub-btrfsd
|
sudo systemctl enable --now grub-btrfsd
|
||||||
|
11
install/app_sunshine.sh
Normal file
11
install/app_sunshine.sh
Normal 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
|
@ -1,5 +1,5 @@
|
|||||||
git clone https://gitlab.gnome.org/philippun1/turtle ../packages/turtle/
|
git clone https://gitlab.gnome.org/philippun1/turtle ~/.local/share/sunhat/packages/turtle/
|
||||||
cd ../packages/turtle/
|
cd ~/.local/share/sunhat/packages/turtle/
|
||||||
python install.py install --user
|
python install.py install --user
|
||||||
pip3 install . --user
|
pip3 install . --user
|
||||||
nautilus -q nautilus --no-desktop
|
nautilus -q nautilus --no-desktop
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#/bin/bash
|
|
||||||
cp $(which akmods) /tmp/akmods
|
cp $(which akmods) /tmp/akmods
|
||||||
sed -i 's/dnf -y install/dnf -y reinstall/' /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
|
perl -i -pe 'if (/check_kmod_up2date\(\)/) { $_ .= <>; s/\{\n/{ return 1\n/ }' /tmp/akmods
|
||||||
|
@ -23,8 +23,8 @@ gext install Vitals@CoreCoding.com
|
|||||||
gext install weatheroclock@CleoMenezesJr.github.io
|
gext install weatheroclock@CleoMenezesJr.github.io
|
||||||
gext install wifiqrcode@glerro.pm.me
|
gext install wifiqrcode@glerro.pm.me
|
||||||
# Install Hanabi
|
# Install Hanabi
|
||||||
git clone https://github.com/jeffshee/gnome-ext-hanabi.git ../packages/hanabi
|
git clone https://github.com/jeffshee/gnome-ext-hanabi.git ~/.local/share/sunhat/packages/hanabi
|
||||||
cd ../packages/hanabi
|
cd ~/.local/share/sunhat/packages/hanabi
|
||||||
./run.sh install
|
./run.sh install
|
||||||
|
|
||||||
# Compile gsettings schemas in order to be able to set them
|
# Compile gsettings schemas in order to be able to set them
|
||||||
|
@ -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
|
sudo dnf install -y $tools
|
||||||
|
Loading…
Reference in New Issue
Block a user