Custom Scripts - Flottegurke/dotfiles GitHub Wiki
This page documents the small custom shell scripts used in my Hyprland setup.
These scripts automate tasks that are either clunky or impossible to do directly in the config alone.
🧩 Structure & Philosophy
- Keep it config-driven: I try to do as much as possible directly inside my Hyprland or related config files - even if this doesn’t improve clarity - to minimize external dependencies.
- Script location: All scripts live in
~/.config/hypr/scripts
to keep them version-controlled alongside the dotfiles. - Minimal runtime footprint: Each script should have zero or near-zero extra dependencies beyond the base system and Hyprland environment.
📜 Scripts Overview
Script | Purpose | Used by |
---|---|---|
changeWallpapers.sh |
Choosing a Random Wallpaper to display | Hyprpaper |
combinedTemperature.sh |
Returning the temperature of all detected sensors | Waybar |
customNetworkData.sh |
Returning Information about current Ethernet connections | Waybar |
handleMonitorConnect.sh |
Moving workspaces if new monitors are detected | Hyprland |
ocrClipboard |
Detecting text in selected area an copying it int the clipboard | Hyprland |
⚙️ Permissions
Every script needs execution permission, this is set automatically by the Dotfiles update script but can be done manually as well:
chmod +x ~/.config/hypr/scripts/*.sh