aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Tak0-Autodispatch.sh
Commit message (Collapse)AuthorAgeLines
* Small technical additions for keyboard layout and app dispatch fixesSmall ↵tak0dan2025-07-26-0/+90
technical additions for keyboard layout and app dispatch fixes This commit introduces two minor but useful scripts aimed at solving specific edge cases in Hyprland usage: 1. Tak0-Per-Window-Switch.sh: Enables per-window keyboard layout switching. This is useful for multilingual workflows where the global layout model becomes inconvenient. The script listens to window focus events and restores the last-used layout for that specific window. 2. Tak0-Autodispatch.sh: Fixes a recurring issue where startup applications are dispatched to incorrect monitors or workspaces, especially in dynamic multi-monitor environments (e.g., a laptop that gets docked/undocked). The original dispatch rules sometimes fail due to race conditions or child process spawning out of focus. This script re-applies correct dispatching logic after startup, reducing manual corrections. Also: - Updated UserKeybinds.conf to run the per-window layout script at startup. - All changes are additive. No existing configs or behavior were overridden or broken. These changes don't introduce any core structural modifications — just small utilities to improve the overall experience when using Hyprland in daily workflows.
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage