From 3e3dff15f74973c6a4c4e64eac7bd41630af93d3 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sat, 27 Jun 2026 11:17:06 +0200 Subject: [PATCH] Migrate floating modifiers `class` is an X11 attribute, sway uses `app_id`. --- home/sway.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/home/sway.nix b/home/sway.nix index 396e7ac..60d576f 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -138,12 +138,13 @@ in { }; floating.criteria = [ { title = "MuseScore: Play Panel"; } - { class = "pavucontrol"; } - { class = "System-config-printer.py";} - { class = "Mate-calc"; } - { class = "Blueman-manager"; } - { class = "Nm-connection-editor"; } - { class = "Zotero"; window_role = "Toplevel"; } + { app_id = "org.pulseaudio.pavucontrol"; } + { app_id = "system-config-printer";} + { app_id = "mate-calc"; } + { app_id = ".blueman-manager-wrapped"; } + { app_id = "nm-connection-editor"; } + { app_id = "Zotero"; window_role = "Toplevel"; } + { app_id = "com.nextcloud.desktopclient.nextcloud"; } ]; colors = { background = "#2B2C2B";