Open twiclo opened 6 months ago
Configure Kanshi to remap your focusmonitor
keymaps after applying a profile
profile home {
output eDP-1 disable
output DP-11 position 0,0
output DP-9 position 2560,0
exec hyprctl keyword bind SUPER, W, focusmonitor, DP-11
exec hyprctl keyword bind SUPER, E, focusmonitor, DP-9
}
profile work {
output eDP-1 disable
output DP-10 position 0,0
output DP-13 position 2560,0
output DP-9 position 5120,0
exec hyprctl keyword bind SUPER, W, focusmonitor, DP-10
exec hyprctl keyword bind SUPER, E, focusmonitor, DP-13
exec hyprctl keyword bind SUPER, R, focusmonitor, DP-9
}
profile work-alt {
output eDP-1 disable
output DP-9 position 0,0
output DP-13 position 2560,0
output DP-11 position 5120,0
exec hyprctl keyword bind SUPER, W, focusmonitor, DP-9
exec hyprctl keyword bind SUPER, E, focusmonitor, DP-13
exec hyprctl keyword bind SUPER, R, focusmonitor, DP-11
}
profile mobile {
output eDP-1 enable scale 1.175
}
Hyprland Version
System/Version info
```sh Hyprland, built from branch at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759 (props: bump version to 0.39.1). Date: Tue Apr 16 16:01:03 2024 Tag: v0.39.1, commits: 4460 flags: (if any) System Information: System name: Linux Node name: sato Release: 6.8.5-301.fc40.x86_64 Version: #1 SMP PREEMPT_DYNAMIC Thu Apr 11 20:00:10 UTC 2024 GPU information: c1:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c4) (prog-if 00 [VGA controller]) os-release: NAME="Fedora Linux" VERSION="40 (Workstation Edition)" ID=fedora VERSION_ID=40 VERSION_CODENAME="" PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora Linux 40 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:40" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=40 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=40 SUPPORT_END=2025-05-13 VARIANT="Workstation Edition" VARIANT_ID=workstation plugins: ```Bug or Regression?
Bug
Description
hyprctl dispatch focusmonitor 2
works when monitors aren't set in the hyprland config (monitor=,preferred,auto,1
) but when monitors are set with kanshi I'm unable to focus monitor 2.hyprctl monitors
before kanshi:And after running kanshi
Again, at this point
hyprctl dispatch focusmonitor 2
no longer selects that monitor.How to reproduce
Move monitors using kanshi then try to run a focusmonitor dispatch
Crash reports, logs, images, videos
No response