Config is mostly done now.

This commit is contained in:
Gabriel Brown 2024-06-09 16:29:49 -05:00
parent e634620901
commit eecca18d5a
31 changed files with 21 additions and 81 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/packages/*/*
/packages/*

View File

@ -9,11 +9,13 @@
wget -qO- https://github.com/gibbyb/sunhat/releases/download/1.0/install.sh | bash
```
##### Themes:
Themes in this repo for the most part have been removed, except for the easy stuff like changing the theme in VS Code. On Fedora, I would recommend Gradience Beta, which is installed by this app, for theming the GNOME shell. I will eventually add more themes for Kitty & Neovim, and I may even make some themes for the GNOME shell using Gradience.
##### To Do:
- [ ] Add a way to change the font & theme of kitty using the script
- [ ] Add a themes for Neovim that are not using LazyVim
- [ ] Configure GNOME extensions with cli tool.
- [ ] Find a consistent way to download applications not in repos.
- [ ] Add a way to update all packages installed with git in the packages folder.
- [ ] Add a way to update all links to packages installed by link

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 925 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -1,11 +1,12 @@
ascii_art='
ascii_art=$(cat << 'EOF'
__ _ _ _.--._
/ _\_ _ _ __ | |__ __ _| |_ _.-.' `.-._
\ \| | | | '_ \| '_ \ / _` | __| .' ./`--...--' \ `.
_\ \ |_| | | | | | | | (_| | |_ `.'.`--.._..--' .'
\__/\__,_|_| |_|_| |_|\__,_|\__| `-..__ __..-'
````
'
EOF
)
# Define the color gradient (shades of cyan and blue)
colors=(

View File

@ -5,7 +5,7 @@ THEME=$(gum choose "${THEME_NAMES[@]}" --header "Choose your theme" --height 9 |
[ ! -n "$THEME" ] && exit 0
# Install theme in Gnome, Terminal, and both default editors
source $SUNHAT_PATH/themes/gnome/$THEME.sh
#source $SUNHAT_PATH/themes/gnome/$THEME.sh
#cp $SUNHAT_PATH/themes/kitty/$THEME.conf ~/.config/kitty/kitty.conf
#cp $SUNHAT_PATH/themes/neovim/$THEME.lua ~/.config/nvim/lua/gib_nvim/colors.lua

View File

@ -1,5 +1 @@
source ~/.local/share/sunhat/defaults/bash/rc
# Editor used by CLI
export EDITOR="nvim"
export SUDO_EDITOR="nvim"

View File

@ -1,3 +1,3 @@
source ~/.local/share/omakub/defaults/bash/shell
source ~/.local/share/omakub/defaults/bash/aliases
source ~/.local/share/omakub/defaults/bash/powerline
source ~/.local/share/sunhat/defaults/bash/shell
source ~/.local/share/sunhat/defaults/bash/aliases
source ~/.local/share/sunhat/defaults/bash/powerline

View File

@ -12,6 +12,6 @@ export SUNHAT_PATH="/home/$USER/.local/share/sunhat"
export BUN_INSTALL="$HOME/.bun"
# Set complete path
export PATH="./bin:$HOME/.local/bin:$HOME/$SUNHAT_PATH/bin:$HOME/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$BUN_INSTALL/bin"
export PATH="./bin:$HOME/.local/bin:$HOME/.local/share/sunhat/bin:$HOME/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin"
set +h

View File

@ -1,5 +1,6 @@
sudo dnf install -y btrfs-progs gawk inotify-tools
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
cp ~/.local/share/sunhat/configs/grub-btrfs/config ~/.local/share/sunhat/packages/grub-btrfs/config
cd ~/.local/share/sunhat/packages/grub-btrfs
sudo make install
sudo grub2-mkconfig -o /etc/grub2-efi.cfg

View File

@ -5,4 +5,4 @@ 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
cp ~/.local/share/sunhat/configs/ulauncher/ulauncher.json ~/.config/ulauncher/settings.json

1
packages/espanso Submodule

@ -0,0 +1 @@
Subproject commit 8daadcc949c35a7b7aa20b7f544fdcff83e2c5f7

1
packages/grub-btrfs Submodule

@ -0,0 +1 @@
Subproject commit f682e17b30def8ebbf9b4b3f0a60df0443633e4c

1
packages/hanabi Submodule

@ -0,0 +1 @@
Subproject commit 710859c3708524ea2a1d22b262ee9753e7523e53

View File

@ -25,7 +25,8 @@ gext install wifiqrcode@glerro.pm.me
# Install 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
./run.sh install > /dev/null
echo "Hanabi installed"
# Compile gsettings schemas in order to be able to set them
sudo cp ~/.local/share/gnome-shell/extensions/app-hider/schemas/org.gnome-shell-extension.app-hider.gschema.xml /usr/share/glib-2.0/schemas/

View File

@ -1,4 +1,3 @@
echo -e "\nInstall Microsoft Repos for VSCode & Edge\n"
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo dnf config-manager --add-repo \
https://packages.microsoft.com/yumrepos/edge

View File

@ -1,9 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-magenta-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-magenta'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/catppuccintotoro.png"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -1,9 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-bark-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-bark'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/fog_forest_2.jpg"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -1,9 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-sage-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-sage'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/ferns-green.jpg"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -1,11 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple'
OMAKUB_BACKGROUND_ORG_PATH="$HOME/.local/share/omakub/backgrounds/kanagawa.jpg"
OMAKUB_BACKGROUND_DEST_PATH="$HOME/.local/share/backgrounds/kanagawa.jpg"
[ ! -f $OMAKUB_BACKGROUND_DEST_PATH ] && cp $OMAKUB_BACKGROUND_ORG_PATH $OMAKUB_BACKGROUND_DEST_PATH
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_BACKGROUND_DEST_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_BACKGROUND_DEST_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -1,9 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-blue-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-blue'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/nord_scenary.png"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -1,9 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-red'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-red'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/simple-pastel-by-triarts-from-freepik.jpg"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -1,9 +0,0 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-purple-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-purple'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/80s-retro-tropical-sunset-by-freepik.jpg"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'