Krolyxon
Commit 97c7c40

Branches

Refs →

aurora97c7c40

conform to new hyprland config format

Author
krolxon
Date
2026-01-01 21:54 +0530
Parent
1778453
Commit
97c7c409510996c22b8f2205b10294ad3e14840a

+31 −7

2 files changed

  1. M .config/hypr/hyprland.conf +30 −6
  2. M .config/shell/profile +1 −1
M .config/hypr/hyprland.conf View
@@ -299,11 +299,35 @@ bindl = , XF86AudioPrev, exec, playerctl previous
299299 # See https://wiki.hypr.land/Configuring/Window-Rules/ for more
300300 # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
301301
302−# Example windowrule
303−# windowrule = float,class:^(kitty)$,title:^(kitty)$
302+# Example windowrules that are useful
304303
305−# Ignore maximize requests from apps. You'll probably like this.
306−windowrule = suppressevent maximize, class:.*
304+windowrule {
305+ # Ignore maximize requests from all apps. You'll probably like this.
306+ name = suppress-maximize-events
307+ match:class = .*
307308
308−# Fix some dragging issues with XWayland
309−windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
309+ suppress_event = maximize
310+}
311+
312+windowrule {
313+ # Fix some dragging issues with XWayland
314+ name = fix-xwayland-drags
315+ match:class = ^$
316+ match:title = ^$
317+ match:xwayland = true
318+ match:float = true
319+ match:fullscreen = false
320+ match:pin = false
321+
322+ no_focus = true
323+}
324+
325+# Hyprland-run windowrule
326+windowrule {
327+ name = move-hyprland-run
328+
329+ match:class = hyprland-run
330+
331+ move = 20 monitor_h-120
332+ float = yes
333+}
M .config/shell/profile View
@@ -57,4 +57,4 @@ export MPD_PORT="6600"
5757 [ ! -s ~/.config/mpd/pid ] && mpd
5858
5959 # Start graphical server on user's current tty if not already running.
60−[ "$(tty)" = "/dev/tty1" ] && ! pidof -s hyprland >/dev/null 2>&1 && exec hyprland
60+[ "$(tty)" = "/dev/tty1" ] && ! pidof -s hyprland >/dev/null 2>&1 && exec start-hyprland