Now works with Fedora

This commit is contained in:
2024-06-09 04:16:43 -05:00
parent e37dd1be84
commit 314e5c9b8b
662 changed files with 128036 additions and 1568 deletions

View File

@ -1,6 +1,6 @@
[ -f "~/.bashrc" ] && mv ~/.bashrc ~/.bashrc.bak
cp ~/.local/share/omakub/configs/bashrc ~/.bashrc
cp ~/.local/share/sunhat/configs/rc/bashrc ~/.bashrc
source ~/.bashrc
[ -f "~/.inputrc" ] && mv ~/.inputrc ~/.inputrc.bak
cp ~/.local/share/omakub/configs/inputrc ~/.inputrc
cp ~/.local/share/sunhat/configs/rc/inputrc ~/.inputrc

View File

@ -1,5 +0,0 @@
cd ~/Downloads
wget https://downloads.1password.com/linux/debian/amd64/stable/1password-latest.deb
sudo apt install -y ./1password-latest.deb
rm 1password-latest.deb
cd -

View File

@ -1,5 +0,0 @@
sudo apt install -y alacritty
mkdir -p ~/.config/alacritty
cp ~/.local/share/omakub/configs/alacritty.toml ~/.config/alacritty/alacritty.toml
cp ~/.local/share/omakub/configs/alacritty/theme.toml ~/.config/alacritty/theme.toml
cp ~/.local/share/omakub/configs/alacritty/font.toml ~/.config/alacritty/font.toml

View File

@ -1,5 +0,0 @@
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
cd -

View File

@ -1,2 +0,0 @@
# Flameshot is a nice step-up over the default Gnome screenshot tool
sudo apt install -y flameshot

View File

@ -1,5 +0,0 @@
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg &&
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg &&
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null &&
sudo apt update &&
sudo apt install gh -y

View File

@ -1 +0,0 @@
sudo apt install -y gnome-tweak-tool

View File

@ -1,7 +0,0 @@
# Gum is used for the Omakub commands for tailoring Omakub after the initial install
cd ~/Downloads
GUM_VERSION="0.14.1" # Use known good version
curl -sLo gum.deb "https://github.com/charmbracelet/gum/releases/latest/download/gum_${GUM_VERSION}_amd64.deb"
sudo apt install ./gum.deb
rm gum.deb
cd -

View File

@ -1,7 +0,0 @@
cd ~/Downloads
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -sLo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz"
tar -xf lazydocker.tar.gz lazydocker
sudo install lazydocker /usr/local/bin
rm lazydocker.tar.gz
cd -

View File

@ -1,7 +0,0 @@
cd ~/Downloads
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -sLo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar -xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
rm lazygit.tar.gz
cd -

View File

@ -1,6 +0,0 @@
cd ~/Downloads
LOCALSEND_VERSION=$(curl -s "https://api.github.com/repos/localsend/localsend/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
wget -O localsend.deb "https://github.com/localsend/localsend/releases/latest/download/LocalSend-${LOCALSEND_VERSION}-linux-x86-64.deb"
sudo apt install ./localsend.deb
rm localsend.deb
cd -

View File

@ -1,8 +0,0 @@
sudo add-apt-repository -y ppa:neovim-ppa/stable
sudo apt update
sudo apt install -y neovim
if [ ! -d "$HOME/.config/nvim" ]; then
git clone https://github.com/LazyVim/starter ~/.config/nvim
cp ~/.local/share/omakub/themes/neovim/tokyo-night.lua ~/.config/nvim/lua/plugins/theme.lua
fi

View File

@ -1,2 +0,0 @@
# FIXME: Get this out of snap
sudo snap install pinta

View File

@ -1,6 +0,0 @@
wget -qO- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor >signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg >/dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |
sudo tee /etc/apt/sources.list.d/signal-xenial.list
sudo apt update
sudo apt install -y signal-desktop

View File

@ -1,4 +0,0 @@
curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/spotify.gpg] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt install -y spotify-client

View File

@ -1,9 +0,0 @@
wget -qO - https://typora.io/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt update
sudo apt install -y typora
# Add iA Typora theme
mkdir -p ~/.config/Typora/themes
cp ~/.local/share/omakub/themes/typora/ia_typora.css ~/.config/Typora/themes/
cp ~/.local/share/omakub/themes/typora/ia_typora_night.css ~/.config/Typora/themes/

View File

@ -1 +0,0 @@
sudo apt install -y vlc

View File

@ -1,11 +0,0 @@
cd ~/Downloads
wget -O code.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'
sudo apt install ./code.deb
rm code.deb
cd -
mkdir -p ~/.config/Code/User
cp ~/.local/share/omakub/configs/vscode.json ~/.config/Code/User/settings.json
# Install default supported themes
code --install-extension enkia.tokyo-night

View File

@ -1 +0,0 @@
sudo apt install -y xournalpp

View File

@ -1,10 +0,0 @@
cd ~/Downloads
wget -O zellij.tar.gz "https://github.com/zellij-org/zellij/releases/latest/download/zellij-x86_64-unknown-linux-musl.tar.gz"
tar -xf zellij.tar.gz zellij
sudo install zellij /usr/local/bin
rm zellij.tar.gz
cd -
mkdir -p ~/.config/zellij/
[ ! -f "$HOME/.config/zellij/config.kdl" ] && cp ~/.local/share/omakub/configs/zellij.kdl ~/.config/zellij/config.kdl
[ ! -L "$HOME/.config/zellij/themes" ] && ln -s ~/.local/share/omakub/themes/zellij ~/.config/zellij/themes

View File

@ -1,5 +0,0 @@
cd ~/Downloads
wget https://zoom.us/client/latest/zoom_amd64.deb
sudo apt install -y ./zoom_amd64.deb
rm zoom_amd64.deb
cd -

1
install/app_adw-gtk3-dark.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.gtk.Gtk3theme.adw-gtk3-dark

1
install/app_adw_steam_gtk.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y io.github.Foldex.AdwSteamGtk

9
install/app_asusctl.sh Normal file
View File

@ -0,0 +1,9 @@
read -p "Should we set up Asusctl? (Are you using and ASUS Laptop?) (y/N) " roganswer
if [ "$roganswer" == "y" ]; then
sudo dnf copr enable lukenukem/asus-linux
sudo dnf update
sudo dnf install asusctl supergfxctl
sudo dnf update --refresh
sudo systemctl enable --now supergfxd.service
sudo dnf install asusctl-rog-gui
fi

1
install/app_bitwarden.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.bitwarden.desktop

1
install/app_bluebubbles.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y app.bluebubbles.BlueBubbles

1
install/app_bun.sh Normal file
View File

@ -0,0 +1 @@
curl -fsSL https://bun.sh/install | bash

1
install/app_cider.sh Normal file
View File

@ -0,0 +1 @@
flatpak install -y flathub sh.cider.Cider

1
install/app_citra.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.citra_emu.citra

1
install/app_corectrl.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y corectrl

1
install/app_discord.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.discordapp.Discord

1
install/app_distrobox.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y distrobox

1
install/app_earth_pro.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.google.EarthPro

13
install/app_espanso.sh Normal file
View File

@ -0,0 +1,13 @@
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
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
sudo setcap "cap_dac_override+p" $(which espanso)
espanso service register
espanso start
espanso install html-utils-package
espanso install markdown-shortcuts
espanso install misspell-en

View File

@ -0,0 +1,2 @@
flatpak install -y com.mattjakeman.ExtensionManager
flatpak install -y com.mattjakeman.ExtensionManager

1
install/app_figma_linux.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y io.github.Figma_Linux.figma_linux

View File

@ -0,0 +1 @@
sudo dnf install -y firewall-config

1
install/app_flatseal.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.github.tchx84.Flatseal

1
install/app_fragments.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y de.haeckerfelix.Fragments

1
install/app_freecad.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.freecadweb.FreeCAD

1
install/app_freetube.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y io.freetubeapp.FreeTube

1
install/app_gimp.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.gimp.GIMP

View File

@ -0,0 +1 @@
sudo dnf install -y gnome-connections

View File

@ -0,0 +1 @@
sudo dnf install -y gnome-network-displays

View File

@ -0,0 +1 @@
sudo dnf install -y gnome-text-editor

View File

@ -0,0 +1 @@
sudo dnf install -y gnome-tweaks

1
install/app_godot.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y godot

View File

@ -0,0 +1,6 @@
flatpak remote-add --if-not-exists gnome-nightly \
https://nightly.gnome.org/gnome-nightly.flatpakrepo
flatpak remote-add --if-not-exists gradience-nightly \
https://gradienceteam.github.io/Gradience/index.flatpakrepo
sudo flatpak install gradience-nightly \
com.github.GradienceTeam.Gradience.Devel

16
install/app_grub_btrfs.sh Normal file
View File

@ -0,0 +1,16 @@
git clone https://github.com/Antynea/grub-btrfs ../packages/grub-btrfs/
mv ../configs/grub-btrfs/config ./grub-btrfs/config
cd ../packages/grub-btrfs
sudo make install
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
sudo systemctl enable --now grub-btrfsd
echo -e "\nIn order to make GRUB-BTRFS work with Timeshift,"
echo -e "we must make a change to it's systemctl file.\n"
echo -e "\nReplace the line:"
echo -e "\n\t\"ExecStart=/usr/bin/grub-btrfsd /.snapshots --syslog\""
echo -e "with:"
echo -e "\n\t\"ExecStart=/usr/bin/grub-btrfsd --syslog --timeshift-auto\"\n"
echo -e "Copy the line above now and press enter to open the file."
read -p "Replace the line, then save & close nvim to continue."
sudo systemctl edit --full grub-btrfsd
sudo systemctl restart grub-btrfsd

1
install/app_gthumb.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.gnome.gThumb

1
install/app_handbrake.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y fr.handbrake.ghb

1
install/app_htop.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y htop

1
install/app_kdenlive.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.kde.kdenlive

1
install/app_kitty.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y kitty

1
install/app_libre_office.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.libreoffice.LibreOffice

2
install/app_lobster.sh Normal file
View File

@ -0,0 +1,2 @@
sudo curl -sL github.com/justchokingaround/lobster/raw/main/lobster.sh -o \
/usr/local/bin/lobster && sudo chmod +x /usr/local/bin/lobster

1
install/app_localsend_app.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.localsend.localsend_app

1
install/app_lutris.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y lutris

View File

@ -0,0 +1 @@
sudo dnf install -y media-writer

View File

@ -0,0 +1 @@
sudo dnf install -y microsoft-edge-stable

1
install/app_minecraft.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.mojang.Minecraft

1
install/app_mission_center.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y io.missioncenter.MissionCenter

1
install/app_moonlight.sh Normal file
View File

@ -0,0 +1 @@
flatpak install -y com.moonlight_stream.Moonlight.desktop

1
install/app_neofetch.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y neofetch

1
install/app_neovim.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y neovim

1
install/app_netbeans.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.apache.netbeans

9
install/app_nextcloud.sh Normal file
View File

@ -0,0 +1,9 @@
sudo dnf install -y nextcloud-client nextcloud-client-nautilus
sudo rm /usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
echo -e "\nRemove the following lines from the NextCloud.desktop file.\n"
echo -e "\t-Implements=org.freedesktop.CloudProviders\n"
echo -e "\t[org.freedesktop.CloudProviders]"
echo -e "\t-BusName=com.nextcloudgmbh.Nextcloud"
echo -e "\tObjectPath=/com/nextcloudgmbh/Nextcloud\n"
read -p "Press enter to open the .desktop file."
kitty -1 -e bash -c "com.nextcloud.desktopclient.nextcloud.desktop"

1
install/app_obs.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.obsproject.Studio

1
install/app_obsidian.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y md.obsidian.Obsidian

1
install/app_pixelorama.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.orama_interactive.Pixelorama

1
install/app_plex_desktop.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y tv.plex.PlexDesktop

1
install/app_pnpm.sh Normal file
View File

@ -0,0 +1 @@
curl -fsSL https://get.pnpm.io/install.sh | sh -

1
install/app_proton_plus.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.vysp3r.ProtonPlus

1
install/app_prusa_slicer.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.prusa3d.PrusaSlicer

1
install/app_ranger.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y ranger

View File

@ -0,0 +1 @@
sudo dnf install -y regextester

1
install/app_retroarch.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.libretro.RetroArch

1
install/app_rpcs3.sh Normal file
View File

@ -0,0 +1 @@
flatpak install -y flathub org.rpcs3.RPCS3

1
install/app_seahorse.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y seahorse

1
install/app_slack .sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.slack.Slack

1
install/app_steam.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y steam mangohud

1
install/app_super_tux_kart.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y net.supertuxkart.SuperTuxKart

1
install/app_thunderbird.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.mozilla.Thunderbird

1
install/app_timeshift.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y timeshift

1
install/app_tmux.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y tmux

1
install/app_toipe.sh Normal file
View File

@ -0,0 +1 @@
cargo install toipe

View File

@ -0,0 +1 @@
flatpak install -y com.github.micahflee.torbrowser-launcher

5
install/app_turtle.sh Normal file
View File

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

8
install/app_ulauncher.sh Normal file
View File

@ -0,0 +1,8 @@
sudo dnf install -y ulauncher
# Start ulauncher to have it populate config before we overwrite
mkdir -p ~/.config/autostart/
cp ~/.local/share/sunhat/configs/ulauncher/ulauncher.desktop ~/.config/autostart/ulauncher.desktop
gtk-launch ulauncher.desktop >/dev/null
sleep 2 # ensure enough time for ulauncher to set defaults
cp ~/.local/share/omakub/configs/ulauncher/ulauncher.json ~/.config/ulauncher/settings.json

1
install/app_unity_hub.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.unity.UnityHub

View File

@ -0,0 +1 @@
flatpak install -y com.github.unrud.VideoDownloader

1
install/app_video_trimmer.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.gnome.gitlab.YaLTeR.VideoTrimmer

View File

@ -0,0 +1,2 @@
sudo dnf install -y qemu-kvm-core libvirt virt-manager
sudo systemctl enable --now libvirtd.service

1
install/app_vlc.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y vlc

1
install/app_vscode.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y code

1
install/app_waydroid.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y waydroid

1
install/app_wireshark.sh Normal file
View File

@ -0,0 +1 @@
sudo dnf install -y wireshark

1
install/app_workbench.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y re.sonny.Workbench

1
install/app_xournalpp.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y com.github.xournalpp.xournalpp

1
install/app_yuzu.sh Executable file
View File

@ -0,0 +1 @@
flatpak install -y org.yuzu_emu.yuzu

Some files were not shown because too many files have changed in this diff Show More