From 1b2a3c6bcc3aa296a144666d308e4cb43f4d189b Mon Sep 17 00:00:00 2001 From: chlorospingus Date: Mon, 13 Oct 2025 18:44:12 -0700 Subject: [PATCH] MCSR macros and steam window rules --- hypr/hyprbinds.conf | 32 +++++++++++++++++++++++++++----- hypr/hyprland.conf | 29 +++++++++++++++++------------ hypr/monitors.conf | 5 ++--- hypr/workspaces.conf | 0 kitty/kitty.conf | 2 +- 5 files changed, 47 insertions(+), 21 deletions(-) create mode 100644 hypr/workspaces.conf diff --git a/hypr/hyprbinds.conf b/hypr/hyprbinds.conf index 1b1f255..9f4f35a 100644 --- a/hypr/hyprbinds.conf +++ b/hypr/hyprbinds.conf @@ -1,9 +1,9 @@ # Window management -bind = SUPER, Q, killactive, -bind = SUPER, M, togglefloating, -bind = SUPER, M, centerwindow -bindr = SUPER, SUPER_L, exec, ~/.config/scripts/wofi-launch.sh -bind = SUPER, B, togglesplit +bind = SUPER_L, Q, killactive, +bind = SUPER_L, M, togglefloating, +bind = SUPER_L, M, centerwindow +bindr = SUPER, SUPER_L, exec, killall rofi || rofi -show drun +bind = SUPER_L, B, togglesplit # Screen locking bindl = SUPER, ESCAPE, exec, ~/.config/scripts/lock.sh @@ -94,3 +94,25 @@ bind = SUPER SHIFT, COMMA, exec, pgrep slurp || hyprshot -o ~/Pictures/Screensho bind = SUPER, SEMICOLON, exec, ~/.config/scripts/zoom.sh bind = , XF86Display, exec, ~/.config/scripts/vnc-toggle.sh bind = SHIFT, XF86Display, exec, killall gjs && ags run + +# MCSR +# Thin macro +bind = , KP_DOWN, fullscreenstate, 0 2 set +bind = , KP_DOWN, setfloating +bind = , KP_DOWN, resizeactive, exact 400 1400 +bind = , KP_DOWN, centerwindow +# Wide macro +bind = , KP_NEXT, fullscreenstate, 0 2 set +bind = , KP_NEXT, setfloating +bind = , KP_NEXT, resizeactive, exact 2560 400 +bind = , KP_NEXT, centerwindow +# Tall macro +bind = , KP_END, fullscreenstate, 0 2 set +bind = , KP_END, setfloating +bind = , KP_END, resizeactive, exact 1950 16384 +bind = , KP_END, movewindowpixel, exact 600 -7500, activewindow + +bind = , KP_UP, exec, boateye.sh +windowrule = float, title:boateye.png +windowrule = size 500 500, title:boateye.png +windowrule = move 50 800, title:boateye.png diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 3706d1c..fa2bb11 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -19,10 +19,10 @@ exec-once = swww-daemon # Theming with envvars for some reason env = XCURSOR_SIZE, 22 env = XCURSOR_THEME, GoogleDot-Black -envd = GTK_THEME, Materia-dark +envd = GTK_THEME, catppuccin-mocha-sapphire-standard+default env = GTK_ICON_THEME, BeautyLine env = HYPRCURSOR_SIZE, 22 -env = HYPRCURSOR_THEME, GoogleDot-Hypr +env = HYPRCURSOR_THEME, GoogleDot-hypr env = QT_QPA_PLATFORMTHEME, qt6ct env = QT_QPA_PLATFORM, wayland;xcb @@ -38,8 +38,6 @@ input { } } -# Disable the trackpad in favour of thinkpad nub - general { gaps_in = 3 gaps_out = 6 @@ -131,14 +129,16 @@ windowrule = rounding 0, floating:0, onworkspace:w[tv1] s[false] windowrulev2 = suppressevent fullscreen, class:.* # Misc window rules -windowrule = float, title:(Write:) -windowrule = float, class:(xdg-desktop-portal-gtk) -windowrule = noblur, title:(Open File) -windowrule = float, center, class:(eog) -windowrule = fullscreen, class:steam_app* -windowrule = float, class:(mpv|loupe|org.gnome.eog) -windowrule = size 95% 90%, class:(mpv|loupe|org.gnome.eog) -windowrule = center 1, floating:1 +windowrule = float, title:(Write:) +windowrule = float, class:(xdg-desktop-portal-gtk) +windowrule = noblur, title:(Open File) +windowrule = float, center, class:(eog) +windowrule = fullscreen, class:steam_app.* +windowrule = workspace 5, class:steam_app.* +windowrule = workspace special, class:steam +windowrule = float, class:(mpv|loupe) +windowrule = size 95% 90%, class:(mpv|loupe) +windowrule = center 1, floating:1 # Misc layer rules layerrule = animation slide, .*bar.* @@ -157,6 +157,10 @@ layerrule = order 4, notification source = ~/.config/hypr/hyprbinds.conf +binds { + disable_keybind_grabbing = true +} + misc { disable_hyprland_logo = true animate_manual_resizes = true @@ -166,6 +170,7 @@ misc { focus_on_activate = true session_lock_xray = true animate_manual_resizes = true + enable_anr_dialog = false } cursor { diff --git a/hypr/monitors.conf b/hypr/monitors.conf index fe83fc4..2bf931f 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -1,4 +1,3 @@ -# Generated by nwg-displays on 2025-07-22 at 15:25:56. Do not edit manually. +# Generated by nwg-displays on 2025-09-21 at 11:46:40. Do not edit manually. -monitor=eDP-1,1920x1200@60.0,0x1120,1.0 -monitor=HDMI-A-1,1920x1080@60.0,0x0,1.0 +monitor=DP-1,2560x1440@143.97,0x0,1.0 diff --git a/hypr/workspaces.conf b/hypr/workspaces.conf new file mode 100644 index 0000000..e69de29 diff --git a/kitty/kitty.conf b/kitty/kitty.conf index ebf7991..e5c0c33 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -3,7 +3,7 @@ include colors.conf background_opacity 0 font_family ComicShannsMono Nerd Font -font_size 16 +font_size 18 cursor #cdf cursor_trail 1