From f47268b95ec869876c3670982b76dc331b562c84 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 25 Mar 2024 10:54:10 +0100 Subject: [PATCH] [hyprland] push trayscale to center --- nix/home/hyprland/hyprland-execution.nix | 1 + nix/home/hyprland/hyprland-window_rules.nix | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/nix/home/hyprland/hyprland-execution.nix b/nix/home/hyprland/hyprland-execution.nix index b3b9635..c59e912 100644 --- a/nix/home/hyprland/hyprland-execution.nix +++ b/nix/home/hyprland/hyprland-execution.nix @@ -40,6 +40,7 @@ exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "scratchbox" --title "Alacritty" exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "blueman-manager" --title "Bluetooth Devices" exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "com.gabm.satty" --title "satty" + exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "dev.deedles.Trayscale" --title "Trayscale" # start default apps exec-once = [workspace 1 silent] bitwarden diff --git a/nix/home/hyprland/hyprland-window_rules.nix b/nix/home/hyprland/hyprland-window_rules.nix index 9fffa6c..a1b37ee 100644 --- a/nix/home/hyprland/hyprland-window_rules.nix +++ b/nix/home/hyprland/hyprland-window_rules.nix @@ -68,6 +68,11 @@ windowrulev2 = size 1000 800, class:(solaar), title:(solaar) windowrulev2 = move center, class:(solaar), title:(solaar) + # trayscale + windowrulev2 = float, class:(dev.deedles.Trayscale), title:(Trayscale) + windowrulev2 = size 1000 800, class:(dev.deedles.Trayscale), title:(Trayscale) + windowrulev2 = move center, class:(dev.deedles.Trayscale), title:(Trayscale) + # volume control windowrulev2 = float, title:(Volume Control) windowrulev2 = size 1000 800, title:(Volume Control)