From d9f5d3eb28b83c237be85f9aedfd9d8ee3611361 Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 26 Sep 2024 16:18:56 -0500 Subject: [PATCH] hyprland: add media tag Signed-off-by: Myned --- options/custom/desktops/hyprland/rules.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/options/custom/desktops/hyprland/rules.nix b/options/custom/desktops/hyprland/rules.nix index 9a0b762..fa8ce97 100644 --- a/options/custom/desktops/hyprland/rules.nix +++ b/options/custom/desktops/hyprland/rules.nix @@ -163,6 +163,10 @@ in { (class "net.retrodeck.retrodeck" rules) # Emulators (class "steam_app_.+" rules) # Proton ]; + media = rules: [ + (class "org\\.gnome\\.Loupe" rules) + (class "totem" rules) + ]; music = rules: [ (class "Spotify" rules) (class "YouTube Music" rules) @@ -218,6 +222,7 @@ in { (tag.editor ["group invade" "tile"]) (tag.files ["size 1000 625"]) (tag.game ["fullscreen" "group barred" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"]) + (tag.media ["tile" "workspace special:scratchpad"]) (tag.music ["tile" "workspace special:music"]) (tag.office ["workspace special:office"]) (tag.password ["center" "workspace special:password"])