From 2f94564fbc75c8adfdc3ec1009af54ccf26c6415 Mon Sep 17 00:00:00 2001 From: Robin Steinberg Date: Wed, 10 Jun 2026 20:59:20 +0200 Subject: [PATCH] Add transparency to gemini and perplexity windows --- AGENTS.md | 17 +++++++++++++++++ config/hypr/rules.conf | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..aeb14c2 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,17 @@ +# Agent Instructions for Hyprtron + +This repository contains configuration files for a Wayland/Hyprland desktop setup. + +## Workflow & File Structure +- **Edit repo files only**: Files in `./config/` map to `~/.config/` and `./local/` map to `~/.local/`. Modify files in this repo; never attempt to modify live files directly in the user's home directory. +- There are no tests, builds, or dev servers. Treat this as a pure dotfiles structure. + +## Hyprland Architecture & Launching +- **Daemon startup via UWSM**: Background services and daemons (e.g., `waybar`, `hyprpaper`, `hypridle`, `walker`, `swayosd-server`) are launched using `uwsm` (Universal Wayland Session Manager). When adding new startups to `hyprland.conf`, use `exec-once = uwsm app -- ` rather than bare `exec-once`. +- **Keybindings**: Application bindings are in `config/hypr/bindings.conf`. Use `bindd` to include descriptions instead of the standard `bind` (e.g., `bindd = $mainMod, KEY, Description, exec, command`). +- **External scripts**: The user's `PATH` includes `~/.local/share/omarchy/bin` (configured via `config/uwsm/env`). Commands like `omarchy-launch-webapp` are external to this repository. + +## Theming Quirks (Crucial) +- The global CSS theme variables are located at `local/share/hyprtron/theme/style.css`. +- **Hardcoded duplication**: Currently, most tools **do not** import the shared theme file (only `walker` does). Configs for `swaync`, `swayosd`, `waybar`, `hyprlock.conf`, and `hyprland.conf` hardcode the colors (e.g., background `rgba(26, 27, 38, ...)`, border `#33ccff`). +- **When changing colors**: You must `grep` and manually update the hardcoded hex/rgba/rgb values across all `.css` and `.conf` files. Do not assume updating `local/share/hyprtron/theme/style.css` is sufficient. diff --git a/config/hypr/rules.conf b/config/hypr/rules.conf index cc3fb72..c59bbca 100644 --- a/config/hypr/rules.conf +++ b/config/hypr/rules.conf @@ -12,3 +12,6 @@ layerrule = ignore_alpha 0, match:namespace swayosd layerrule = blur true, match:namespace walker layerrule = ignore_alpha 0, match:namespace walker layerrule = ignore_alpha 0.5, match:namespace walker + +windowrule = opacity 0.85 0.8,match:class ^chrome-gemini\.google\.com.* +windowrule = opacity 0.85 0.8,match:class ^chrome-perplexity\.ai.*