Compare commits

...

7 Commits

Author SHA1 Message Date
0280a88a7b fix aliases 2025-05-22 17:50:59 -05:00
Gib
7df94a817d Add api keys file for bash for avante.nvim 2025-05-12 11:41:06 -05:00
28183f554d Update nvidia-smi-docker image 2025-05-06 08:37:24 -05:00
fc45c8e1e4 Add aliases 2025-05-06 08:36:31 -05:00
edabb1c4f7 Update remove_packages.sh 2025-04-25 13:10:17 -05:00
b50871e27c Update README.md 2025-04-25 13:08:34 -05:00
Gib
cb4e8dec44 Fix open in terminal to go to kitty 2025-04-24 12:30:12 -05:00
5 changed files with 20 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/packages/*/* /packages/*/*
/packages/* /packages/*
/packages/** /packages/**
/defaults/bash/api_keys

View File

@ -6,17 +6,17 @@
#### Install: #### Install:
```bash ```bash
wget -qO- https://github.com/gibbyb/sunhat/releases/download/1.0/install.sh | bash wget -qO- https://github.com/gibbyb/sunhat/releases/download/1.0/install
``` ```
##### Mirror: ##### Mirror:
```bash ```bash
wget -qO- https://git.gibbyb.com/gib/sunhat/releases/download/1.0/install.sh | bash wget -qO- https://git.gbrown.org/gib/sunhat/releases/download/1.0/install
``` ```
##### To Do: ##### To Do:
- [ ] Add eza installation at is no longer in repository - [X] Add eza installation at is no longer in repository
- [ ] Change sunshine copr repo to the official one. - [X] Change sunshine copr repo to the official one.
- [ ] Add a way to change the font & theme of kitty using the script - [ ] Add a way to change the font & theme of kitty using the script
- [ ] Add a way to update all packages installed with git in the packages folder. - [X] 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 - [ ] Add a way to update all links to packages installed by link

View File

@ -1,3 +1,5 @@
#!/bin/bash
# Aliases I like # Aliases I like
alias update="sudo dnf update -y && flatpak update -y" alias update="sudo dnf update -y && flatpak update -y"
alias install="sudo dnf install -y" alias install="sudo dnf install -y"
@ -16,11 +18,15 @@ alias shutdown="systemctl poweroff"
alias ts="~/.config/hypr/scripts/snapshot.sh" alias ts="~/.config/hypr/scripts/snapshot.sh"
alias wifi="mctui" alias wifi="mctui"
alias update-grub="sudo grub-mkconfig -o /etc/grub2-efi.cfg" alias update-grub="sudo grub-mkconfig -o /etc/grub2-efi.cfg"
alias nvidia-smi-docker='sudo docker run --rm --gpus all --privileged nvidia/cuda:11.3.1-base nvidia-smi' alias nvidia-smi-docker='sudo docker run --rm --gpus all --privileged nvidia/cuda:12.8.1-base-ubuntu24.04 nvidia-smi'
alias ncconnect='sudo docker exec -u www-data -it nextcloud-aio-nextcloud bash' alias ncconnect='sudo docker exec -u www-data -it nextcloud-aio-nextcloud bash'
alias docker-up='sudo docker compose up -d'
alias docker-down='sudo docker compose down'
alias docker-stop='sudo docker compose stop'
alias docker-update='sudo docker compose down && sudo docker compose up -d' alias docker-update='sudo docker compose down && sudo docker compose up -d'
alias docker-restart='sudo docker compose restart' alias docker-restart='sudo docker compose restart'
# File system # File system
alias ls='eza -lh --group-directories-first --icons' alias ls='eza -lh --group-directories-first --icons'
alias lsa='ls -a' alias lsa='ls -a'

View File

@ -1,2 +1,7 @@
#!/bin/bash
source ~/.local/share/sunhat/defaults/bash/shell source ~/.local/share/sunhat/defaults/bash/shell
source ~/.local/share/sunhat/defaults/bash/aliases source ~/.local/share/sunhat/defaults/bash/aliases
if [ -f ~/.local/share/sunhat/defaults/bash/api_keys ]; then
source ~/.local/share/sunhat/defaults/bash/api_keys
fi

View File

@ -1,3 +1,5 @@
#!/bin/bash
# Source global definitions # Source global definitions
if [ -f /etc/bashrc ]; then if [ -f /etc/bashrc ]; then
. /etc/bashrc . /etc/bashrc