From 9bb01bba304a6641511fc06b13ef7b2284a7aab8 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 21 Sep 2025 10:37:12 +0200 Subject: [PATCH] update hyprland config for crosshair --- .config/hypr/hyprland/keybinds.conf | 1 + .config/hypr/hyprland/rules.conf | 34 ++++++++++------------------- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/.config/hypr/hyprland/keybinds.conf b/.config/hypr/hyprland/keybinds.conf index 434e8ad31..4e3a94a8a 100644 --- a/.config/hypr/hyprland/keybinds.conf +++ b/.config/hypr/hyprland/keybinds.conf @@ -33,6 +33,7 @@ bindd = Super, N, Toggle right sidebar, global, quickshell:sidebarRightToggle # bindd = Super, Slash, Toggle cheatsheet, global, quickshell:cheatsheetToggle # Toggle cheatsheet bindd = Super, K, Toggle on-screen keyboard, global, quickshell:oskToggle # Toggle on-screen keyboard bindd = Super, M, Toggle media controls, global, quickshell:mediaControlsToggle # Toggle media controls +bind = Super, G, global, quickshell:crosshairToggle # Toggle crosshair bindd = Ctrl+Alt, Delete, Toggle session menu, global, quickshell:sessionToggle # Toggle session menu bindd = Super, J, Toggle bar, global, quickshell:barToggle # Toggle bar bind = Ctrl+Alt, Delete, exec, qs -c $qsConfig ipc call TEST_ALIVE || pkill wlogout || wlogout -p layer-shell # [hidden] Session menu (fallback) diff --git a/.config/hypr/hyprland/rules.conf b/.config/hypr/hyprland/rules.conf index f5a86a238..0589edb85 100644 --- a/.config/hypr/hyprland/rules.conf +++ b/.config/hypr/hyprland/rules.conf @@ -130,32 +130,22 @@ layerrule = blurpopups, quickshell:.* layerrule = blur, quickshell:.* layerrule = ignorealpha 0.79, quickshell:.* layerrule = animation slide, quickshell:bar -layerrule = animation slide, quickshell:verticalBar -layerrule = animation fade, quickshell:screenCorners -layerrule = animation slide right, quickshell:sidebarRight -layerrule = animation slide left, quickshell:sidebarLeft -layerrule = animation slide top, quickshell:wallpaperSelector -layerrule = animation slide bottom, quickshell:osk -layerrule = animation slide bottom, quickshell:dock layerrule = animation slide bottom, quickshell:cheatsheet +layerrule = noanim, quickshell:crosshair +layerrule = animation slide bottom, quickshell:dock +layerrule = animation popin 120%, quickshell:screenCorners +layerrule = noanim, quickshell:lockWindowPusher +layerrule = animation fade, quickshell:notificationPopup +layerrule = noanim, quickshell:overview +layerrule = animation slide bottom, quickshell:osk +layerrule = noanim, quickshell:screenshot layerrule = blur, quickshell:session layerrule = noanim, quickshell:session layerrule = ignorealpha 0, quickshell:session -layerrule = animation fade, quickshell:notificationPopup -layerrule = blur, quickshell:backgroundWidgets -layerrule = ignorealpha 0.05, quickshell:backgroundWidgets -layerrule = noanim, quickshell:screenshot -layerrule = animation popin 120%, quickshell:screenCorners -layerrule = noanim, quickshell:lockWindowPusher - +layerrule = animation slide right, quickshell:sidebarRight +layerrule = animation slide left, quickshell:sidebarLeft +layerrule = animation slide, quickshell:verticalBar +layerrule = animation slide top, quickshell:wallpaperSelector # Launchers need to be FAST -layerrule = noanim, quickshell:overview layerrule = noanim, gtk4-layer-shell -## outfoxxed's stuff -layerrule = blur, shell:bar -layerrule = ignorezero, shell:bar -layerrule = blur, shell:notifications -layerrule = ignorealpha 0.1, shell:notifications - -