Add transparency to gemini and perplexity windows

This commit is contained in:
2026-06-10 20:59:20 +02:00
parent 7c53b21adb
commit 2f94564fbc
2 changed files with 20 additions and 0 deletions
+17
View File
@@ -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 -- <command>` 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.
+3
View File
@@ -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.*