develop #16

Merged
sid merged 4 commits from develop into release-25.11 2026-04-03 16:46:17 +02:00
Showing only changes of commit 05aeb32d54 - Show all commits

View file

@ -3,13 +3,13 @@
let
cfg = config.wayland.windowManager.hyprland;
nonFloatingClasses = [
nonCenterFloatingClasses = [
"Gimp"
"steam"
"KiCad"
];
nonFloatingClassesRegex = concatStringsSep "|" nonFloatingClasses;
nonCenterFloatingClassesRegex = concatStringsSep "|" nonCenterFloatingClasses;
inherit (builtins) concatStringsSep toString;
inherit (lib) mkDefault;
@ -25,8 +25,8 @@ in
# 1: see Hyprland NixOS module
windowrule = [
# "float, class:^(${nonFloatingClassesRegex})$"
"center, floating:1, class:^(?!.*(${nonFloatingClassesRegex})).*$"
# "float, class:^(${nonCenterFloatingClassesRegex})$"
"center, floating:1, class:^(?!.*(${nonCenterFloatingClassesRegex})).*$"
"float, title:^(Open|Save) Files?$"
"noborder, onworkspace:w[t1]"
"bordersize ${toString cfg.settings.general.border_size}, floating:1"
@ -39,6 +39,12 @@ in
"noblur, class:^(xwaylandvideobridge)$"
];
gesture = [
"3, horizontal, workspace"
"3, up, dispatcher, exec, bemenu-run" # TODO: move to hyprland.applications
"4, swipe, move"
];
# Layouts
general.layout = mkDefault "master";
master = {