Skip to content

Commit

Permalink
hyprland: update and allow tearing
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Sep 28, 2023
1 parent 92c17b1 commit 89865f0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
20 changes: 10 additions & 10 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions home/wayland/hyprland/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ in {
env = _JAVA_AWT_WM_NONREPARENTING,1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = WLR_DRM_NO_ATOMIC,1
# set cursor for HL itself
exec-once = hyprctl setcursor ${pointer.name} ${toString pointer.size}
Expand Down Expand Up @@ -82,6 +83,8 @@ in {
# group borders
col.group_border_active = rgba(${c.color_accent_primary}88)
col.group_border = rgba(${c.color_accent_primary_variant}88)
allow_tearing = true
}
decoration {
Expand Down Expand Up @@ -120,6 +123,9 @@ in {
# telegram media viewer
windowrulev2 = float, title:^(Media viewer)$
# allow tearing in games
windowrulev2 = immediate, class:^(osu\!|cs2)$
# make Firefox PiP window floating and sticky
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = pin, title:^(Picture-in-Picture)$
Expand Down

0 comments on commit 89865f0

Please sign in to comment.