Skip to content

Latest commit

 

History

75 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fedora Linux Scripts & Dotfiles

Personal Bash scripts and terminal configs for Fedora Linux.

Note

Tailored for my setup: DNF, Flatpak, Kitty, Starship, Rust (rustup), and Antigravity CLI (agy).

Setup

git clone https://github.com/GabGP/LinuxScripts.git
cd LinuxScripts
./setup.sh

setup.sh opens an interactive menu with three options:

Option What it does
Configurations Symlinks dotfiles (Kitty, Starship, Bash) to their expected locations. Existing files are automatically backed up to backups/. You can install all configs or pick individually.
Automation Scripts Symlinks scripts from scripts/ into ~/.local/bin/ so they're available as commands (update, check-updates, ezin). You can link all or pick individually.
Both Runs both of the above in one step.

Prerequisites

System packages:

sudo dnf install file tar unzip sed desktop-file-utils curl

Font (MesloLGS Nerd Font — recommended for Kitty & Starship):

mkdir -p ~/.local/share/fonts/Meslo
curl -fLo /tmp/Meslo.tar.xz https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.tar.xz
tar -xf /tmp/Meslo.tar.xz -C ~/.local/share/fonts/Meslo/
rm -f /tmp/Meslo.tar.xz
fc-cache -f ~/.local/share/fonts/Meslo

Repository Layout

LinuxScripts/
├── config/
│   ├── bash/.bashrc             # → ~/.bashrc
│   ├── kitty/
│   │   ├── kitty.conf           # → ~/.config/kitty/kitty.conf
│   │   ├── current-theme.conf   # → Active theme managed by Kitty theme switcher
│   │   ├── tab_bar.conf         # → Declarative tab bar settings & 197+ command icons
│   │   ├── tab_bar.py           # → ~/.config/kitty/tab_bar.py (status bar entry point)
│   │   ├── themes/              # Custom theme preset catalog (dimidium, kokiri_dark)
│   │   └── tab_bar/             # Modular status bar package (registry, timer, renderer, widgets)
│   └── starship/starship.toml   # → ~/.config/starship.toml
├── scripts/
│   ├── lib/                     # Shared modular libraries (colors, logger, backup)
│   │   ├── colors.sh
│   │   ├── logger.sh
│   │   └── backup.sh
│   ├── update.sh                # Updates DNF, Flatpak, Starship, agy, Rust
│   ├── check-updates.sh         # Checks for pending updates (read-only)
│   └── ezin.sh                  # Installs archive packages into /opt
├── setup.sh                     # Interactive setup manager
└── backups/                     # Auto-generated config backups (gitignored)

Configurations

  • Kitty — Uses MesloLGS Nerd Font with declarative configuration (tab_bar.conf), custom Powerline tabs, and right-aligned live status widgets (Open-Meteo Weather, RAM usage, CPU load & temperature, Battery status, and 24-hour Clock), plus F1 btop overlay shortcut. Features plug-and-play widget auto-discovery, frame-scoped render memoization, and zero-polling kernel interrupt timers. See tab_bar/README.md for architecture and widget development guide.
  • Starship — Continuous Powerline capsule layout inspired by Gruvbox-Rainbow, with a modular color palette. All 101 default Starship modules are preserved. Edit the color variables at the top of starship.toml to swap palettes easily.
  • Bash — User environment variables, path exports, and Starship shell hook.

License

MIT — see LICENSE.

About

Collection of personal scripts and custom terminal configs (Kitty, Starship, Bash).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages