From f657a37832ba5b6335a4eda04994db4dde611c6c Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Tue, 31 Dec 2024 02:14:03 -0600 Subject: [PATCH] amd 342 current 2024-12-31 02:13:46 25.05.20241221.a168813 6.6.67 * --- config/hypr/hyprland.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 5cb2221a..971f0126 100755 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -12,7 +12,12 @@ exec-once = sleep 4 ; wpa_gui -t exec-once = [workspace 10 silent] element-desktop windowrule = workspace 10 silent, ^(Element)$ exec-once = hyprctl dispatch workspace 3 && zen && sleep 0.3 && hyprctl dispatch workspace 2 +exec-once = hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta") | select(.title | test("- YouTube —"; "i")) | .address' | xargs -I {} hyprctl dispatch movetoworkspacesilent "9,address:{}" +exec-once = sleep 1; hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta") | select(.title | test("- YouTube —"; "i")) | .address' | xargs -I {} hyprctl dispatch movetoworkspacesilent "9,address:{}" +exec-once = sleep 2; hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta") | select(.title | test("- YouTube —"; "i")) | .address' | xargs -I {} hyprctl dispatch movetoworkspacesilent "9,address:{}" exec-once = sleep 3; hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta") | select(.title | test("- YouTube —"; "i")) | .address' | xargs -I {} hyprctl dispatch movetoworkspacesilent "9,address:{}" +exec-once = sleep 4; hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta") | select(.title | test("- YouTube —"; "i")) | .address' | xargs -I {} hyprctl dispatch movetoworkspacesilent "9,address:{}" +exec-once = sleep 5; hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta") | select(.title | test("- YouTube —"; "i")) | .address' | xargs -I {} hyprctl dispatch movetoworkspacesilent "9,address:{}" exec-once = sleep 3; [ "$(hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta" and .workspace.id == 3) | .initialClass')" ] || (current_workspace=$(hyprctl activeworkspace -j | jq .id) && hyprctl dispatch workspace 3 && zen && sleep 0.2 && hyprctl dispatch workspace $current_workspace;) #exec-once = sleep 3; [ "$(hyprctl clients -j | jq -r '.[] | select(.initialClass == "zen-beta" and .workspace.id == 3) | .initialClass')" ] || (current_workspace=$(hyprctl activeworkspace -j | jq .id) && hyprctl dispatch workspace 3 && zen && sleep 0.2 && hyprctl dispatch workspace $current_workspace;) # exec-once = [workspace 4 silent] zen