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
+2 -2
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
-5
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 -
-5
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
-5
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 -
-2
View File
@@ -1,2 +0,0 @@
# Flameshot is a nice step-up over the default Gnome screenshot tool
sudo apt install -y flameshot
-5
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
-1
View File
@@ -1 +0,0 @@
sudo apt install -y gnome-tweak-tool
-7
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 -
-7
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 -
-7
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 -
-6
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 -
-8
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
-2
View File
@@ -1,2 +0,0 @@
# FIXME: Get this out of snap
sudo snap install pinta
-6
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
-4
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
-9
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/
-1
View File
@@ -1 +0,0 @@
sudo apt install -y vlc
-11
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
-1
View File
@@ -1 +0,0 @@
sudo apt install -y xournalpp
-10
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
-5
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
View File
@@ -0,0 +1 @@
flatpak install -y org.gtk.Gtk3theme.adw-gtk3-dark
+1
View File
@@ -0,0 +1 @@
flatpak install -y io.github.Foldex.AdwSteamGtk
+9
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
View File
@@ -0,0 +1 @@
flatpak install -y com.bitwarden.desktop
+1
View File
@@ -0,0 +1 @@
flatpak install -y app.bluebubbles.BlueBubbles
+1
View File
@@ -0,0 +1 @@
curl -fsSL https://bun.sh/install | bash
+1
View File
@@ -0,0 +1 @@
flatpak install -y flathub sh.cider.Cider
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.citra_emu.citra
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y corectrl
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.discordapp.Discord
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y distrobox
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.google.EarthPro
+13
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
+2
View File
@@ -0,0 +1,2 @@
flatpak install -y com.mattjakeman.ExtensionManager
flatpak install -y com.mattjakeman.ExtensionManager
+1
View File
@@ -0,0 +1 @@
flatpak install -y io.github.Figma_Linux.figma_linux
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y firewall-config
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.github.tchx84.Flatseal
+1
View File
@@ -0,0 +1 @@
flatpak install -y de.haeckerfelix.Fragments
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.freecadweb.FreeCAD
+1
View File
@@ -0,0 +1 @@
flatpak install -y io.freetubeapp.FreeTube
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.gimp.GIMP
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y gnome-connections
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y gnome-network-displays
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y gnome-text-editor
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y gnome-tweaks
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y godot
+6
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
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
View File
@@ -0,0 +1 @@
flatpak install -y org.gnome.gThumb
+1
View File
@@ -0,0 +1 @@
flatpak install -y fr.handbrake.ghb
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y htop
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.kde.kdenlive
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y kitty
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.libreoffice.LibreOffice
+2
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
View File
@@ -0,0 +1 @@
flatpak install -y org.localsend.localsend_app
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y lutris
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y media-writer
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y microsoft-edge-stable
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.mojang.Minecraft
+1
View File
@@ -0,0 +1 @@
flatpak install -y io.missioncenter.MissionCenter
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.moonlight_stream.Moonlight.desktop
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y neofetch
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y neovim
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.apache.netbeans
+9
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
View File
@@ -0,0 +1 @@
flatpak install -y com.obsproject.Studio
+1
View File
@@ -0,0 +1 @@
flatpak install -y md.obsidian.Obsidian
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.orama_interactive.Pixelorama
+1
View File
@@ -0,0 +1 @@
flatpak install -y tv.plex.PlexDesktop
+1
View File
@@ -0,0 +1 @@
curl -fsSL https://get.pnpm.io/install.sh | sh -
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.vysp3r.ProtonPlus
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.prusa3d.PrusaSlicer
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y ranger
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y regextester
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.libretro.RetroArch
+1
View File
@@ -0,0 +1 @@
flatpak install -y flathub org.rpcs3.RPCS3
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y seahorse
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.slack.Slack
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y steam mangohud
+1
View File
@@ -0,0 +1 @@
flatpak install -y net.supertuxkart.SuperTuxKart
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.mozilla.Thunderbird
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y timeshift
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y tmux
+1
View File
@@ -0,0 +1 @@
cargo install toipe
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.github.micahflee.torbrowser-launcher
+5
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
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
View File
@@ -0,0 +1 @@
flatpak install -y com.unity.UnityHub
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.github.unrud.VideoDownloader
+1
View File
@@ -0,0 +1 @@
flatpak install -y org.gnome.gitlab.YaLTeR.VideoTrimmer
+2
View File
@@ -0,0 +1,2 @@
sudo dnf install -y qemu-kvm-core libvirt virt-manager
sudo systemctl enable --now libvirtd.service
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y vlc
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y code
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y waydroid
+1
View File
@@ -0,0 +1 @@
sudo dnf install -y wireshark
+1
View File
@@ -0,0 +1 @@
flatpak install -y re.sonny.Workbench
+1
View File
@@ -0,0 +1 @@
flatpak install -y com.github.xournalpp.xournalpp
+1
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