diff options
| author | tak0dan <tmtroshko@gmail.com> | 2025-07-26 17:20:35 +0200 |
|---|---|---|
| committer | tak0dan <tmtroshko@gmail.com> | 2025-07-26 17:31:14 +0200 |
| commit | a2651ce31761301b5ac9c1c5915ef16c3f13ce6f (patch) | |
| tree | b29dc5737f550b119a853eadd29f207615f2c8ef /config/hypr/UserConfigs/UserKeybinds.conf | |
| parent | 7e958b7fdfb233d7c0ebd56aaf1935b7e4c4cba2 (diff) | |
Small technical additions for keyboard layout and app dispatch fixesSmall 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.
Diffstat (limited to 'config/hypr/UserConfigs/UserKeybinds.conf')
| -rw-r--r-- | config/hypr/UserConfigs/UserKeybinds.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 70202ba4..dd18b971 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -64,7 +64,8 @@ bind = $mainMod CTRL, O, exec, hyprctl setprop active opaque toggle # disable op bind = $mainMod SHIFT, K, exec, $scriptsDir/KeyBinds.sh # search keybinds via rofi bind = $mainMod SHIFT, A, exec, $scriptsDir/Animations.sh #hyprland animations menu bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zsh theme -bindln = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout +bindln = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout globally +bindln = SHIFT_L, ALT_L, exec, $scriptsDir/Tak0-Per-Window-Switch.sh # Change keyboard layout locally for each window bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) |
