Make changes found in later commits on Omakub
This commit is contained in:
parent
f8962e9ec7
commit
ff33be3b5f
@ -3,7 +3,7 @@
|
||||
source $SUNHAT_PATH/bin/ascii.sh
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
SUB=$(gum choose "Theme" "Font" "Install" "Update" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
|
||||
SUB=$(gum choose "theme" "font" "install" "update" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
|
||||
else
|
||||
SUB=$1
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Pick a preconfigured theme
|
||||
THEME_NAMES=("Tokyo Night" "Nord" "Catppuccin" "Everforest" "Gruvbox" "Kanagawa" "Rose Pine")
|
||||
THEME_NAMES=("Tokyo Night" "Catppuccin" "Nord" "Everforest" "Gruvbox" "Kanagawa" "Rose Pine")
|
||||
THEME=$(gum choose "${THEME_NAMES[@]}" --header "Choose your theme" --height 9 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
|
||||
|
||||
[ ! -n "$THEME" ] && exit 0
|
@ -16,9 +16,9 @@ alias lta='lt -a'
|
||||
alias ff="fzf --preview 'batcat --style=numbers --color=always {}'"
|
||||
|
||||
# Directories
|
||||
alias cd..='cd ..'
|
||||
alias cd...='cd ../..'
|
||||
alias cd....='cd ../../..'
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
alias ....='cd ../../..'
|
||||
|
||||
# Tools
|
||||
alias n='nvim'
|
||||
|
@ -3,9 +3,10 @@ source ~/.local/share/sunhat/bin/ascii.sh
|
||||
|
||||
# Needed for all installers
|
||||
sudo dnf update -y
|
||||
sudo dnf install -y curl git jq
|
||||
sudo dnf install -y curl git unzip
|
||||
|
||||
# Ensure computer doesn't go to sleep while installing
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
|
||||
# Run Scripts Required for Application Installs
|
||||
@ -21,10 +22,11 @@ for script in ~/.local/share/sunhat/settings/*.sh; do source $script; done
|
||||
source ~/.local/share/sunhat/GPU/install.sh
|
||||
|
||||
# Revert to normal idle settings
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled true
|
||||
gsettings set org.gnome.desktop.session idle-delay 300
|
||||
|
||||
# Upgrade everything that might ask for a reboot last
|
||||
sudo dnf update -y --refresh
|
||||
|
||||
# Reboot to pickup changes
|
||||
# Logout to pickup changes
|
||||
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
|
||||
|
@ -1,10 +0,0 @@
|
||||
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" ] && rm ~/.inputrc
|
||||
cp ~/.local/share/sunhat/configs/rc/inputrc ~/Documents/Configs/inputrc
|
||||
ln -s ~/Documents/Configs/inputrc ~/.inputrc
|
@ -1,4 +1,4 @@
|
||||
sudo dnf install -y ulauncher
|
||||
gtk-launch ulauncher.desktop >/dev/null
|
||||
gtk-launch ulauncher.desktop >/dev/null 2>&1
|
||||
sleep 2 # ensure enough time for ulauncher to set defaults
|
||||
cp ~/.local/share/sunhat/configs/ulauncher/ulauncher.json ~/.config/ulauncher/settings.json
|
||||
|
@ -7,8 +7,8 @@ git config --global pull.rebase true
|
||||
|
||||
# Set git editor and user
|
||||
git config --global core.editor "nvim"
|
||||
git config --global user.name "gibbyb"
|
||||
git config --global user.email "gib@gibbyb.com"
|
||||
git config --global user.name $GH_USERNAME
|
||||
git config --global user.email $GH_EMAIL
|
||||
|
||||
# Sign in to GitHub
|
||||
gh auth login
|
||||
|
@ -3,6 +3,8 @@ pipx install gnome-extensions-cli --system-site-packages
|
||||
# Turn off Fedora Watermark extension
|
||||
gnome-extensions disable background-logo@fedorahosted.org
|
||||
|
||||
gum confirm "To install GNOME extensions, you will need to accept quite a few prompts. Are you ready to proceed?"
|
||||
|
||||
# Install new extensions
|
||||
gext install allowlockedremotedesktop@kamens.us
|
||||
gext install app-hider@lynith.dev
|
||||
|
0
settings/set_theme.sh
Normal file
0
settings/set_theme.sh
Normal file
@ -1,11 +1,23 @@
|
||||
# Make Directory for all Dotfiles so you can sync them with Nextcloud.
|
||||
mkdir ~/Documents/Configs
|
||||
|
||||
# Set up Bash Config and Source it ASAP.
|
||||
[ -f "~/.bashrc" ] && rm ~/.bashrc
|
||||
cp ~/.local/share/sunhat/configs/rc/bashrc ~/Documents/Configs/bashrc
|
||||
ln -s ~/Documents/Configs/bashrc ~/.bashrc
|
||||
source ~/.bashrc
|
||||
|
||||
[ -f "~/.inputrc" ] && rm ~/.inputrc
|
||||
cp ~/.local/share/sunhat/configs/rc/inputrc ~/Documents/Configs/inputrc
|
||||
ln -s ~/Documents/Configs/inputrc ~/.inputrc
|
||||
|
||||
# Copy all Dotfiles to the Configs Directory.
|
||||
cp -r ~/.local/share/sunhat/configs/dotfiles/. ~/Documents/Configs/
|
||||
|
||||
espanso service stop
|
||||
# Remove old dotfiles if they exist & create symlinks to the new dotfiles.
|
||||
rm -rf ~/.config/espanso
|
||||
ln -s ~/Documents/Configs/espanso ~/.config/espanso
|
||||
espanso service start
|
||||
rm -rf ~/.config/espanso
|
||||
rm -rf ~/.config/forge
|
||||
ln -s ~/Documents/Configs/forge ~/.config/forge
|
||||
rm -rf ~/.config/kitty
|
||||
ln -s ~/Documents/Configs/kitty ~/.config/kitty
|
4
sources/env.sh
Normal file
4
sources/env.sh
Normal file
@ -0,0 +1,4 @@
|
||||
export GH_USERNAME="gibbyb"
|
||||
export GH_EMAIL="gib@gibbyb.com"
|
||||
export GH_EDITOR="nvim"
|
||||
export HOST_NAME="desktop.gib"
|
@ -1,2 +1 @@
|
||||
read -p "Set your hostname: " hostname_response
|
||||
sudo hostnamectl set-hostname $hostname_response
|
||||
sudo hostnamectl set-hostname $HOST_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user