irongit

refactor: tidal using pwa

huncholanehuncholaneauthored
parent 5b34475commit 420584b61162a27dc59dae5c52d5dae86e568f06Browse files

3 files changed, +11 -10

+1-1UserConfigs/UserKeybinds.conf
@@ -108,7 +108,7 @@ bind = $mainMod SHIFT, C, exec, gnome-calendar
108108 bind = $mainMod, o, exec, $UserScripts/ToggleMinimize.sh hubstaff /home/huncho/Hubstaff/HubstaffClient.bin.x86_64
109109 bind = $mainMod shift, p, exec, $UserScripts/ToggleMinimize.sh proton protonvpn-app
110110 bind = $mainMod, x, exec, $UserScripts/ToggleMinimize.sh ledger ledger
111-bind = $mainMod, t, exec, $UserScripts/ToggleMinimize.sh tidal-hifi "tidal-hifi --enable-features=UseOzonePlatform --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations %U"
111+bind = $mainMod, t, exec, $UserScripts/ToggleMinimize.sh chrome-ilbcbhpbmggihnbldpmmbppiclfnifck-Default "/opt/google/chrome/google-chrome --profile-directory=Default --app-id=ilbcbhpbmggihnbldpmmbppiclfnifck"
112112 bind = $mainMod, z, exec, $UserScripts/ToggleMinimize.sh zoho zoho-mail-desktop
113113 bind = $mainMod, g, exec, $UserScripts/ToggleMinimize.sh chrome-fmgjjmmmlfnkbppncabfkddbjimcfncm-Default 'gtk-launch gmail'
114114 # bind = $mainMod, g, exec, gtk-launch gmail
+2-1UserConfigs/WindowRules.conf
@@ -71,4 +71,5 @@ windowrule = workspace 12 silent, match:class ^PLAYWRIGHT$
7171 windowrule = workspace 11 silent, match:title .*DEBUG.*
7272
7373 # Tidal has a minimizable popup
74-windowrule = float on, center on, size monitor_w*0.95 monitor_h*0.9, match:class tidal-hifi
74+windowrule = tag +tidal, match:class chrome-ilbcbhpbmggihnbldpmmbppiclfnifck-Default
75+windowrule = float on, center on, size monitor_w*0.95 monitor_h*0.9, match:tag tidal
+8-8UserScripts/ToggleMinimize.sh
@@ -7,19 +7,19 @@ echo "$class $workspace"
77
88 # Launch app and exit if class is not found
99 if [ -z "$details" ]; then
10- $2 &>/dev/null &
11- exit 0
10+ $2 &>/dev/null &
11+ exit 0
1212 fi
1313
1414 cur_workspace=$(hyprctl activeworkspace -j | jq '.id')
1515
1616 # Toggle minimized
1717 if [ "$workspace" = "special:minimized" ]; then
18- # Bring to current workspace
19- echo "moving to workspace: $cur_workspace"
20- hyprctl dispatch movetoworkspace "$cur_workspace", "class:$class"
18+ # Bring to current workspace
19+ echo "moving to workspace: $cur_workspace"
20+ hyprctl dispatch movetoworkspacesilent "$cur_workspace", "class:$class"
2121 else
22- # Move to special:minimized
23- echo "moving to minimized workspace"
24- hyprctl dispatch movetoworkspacesilent special:minimized, "class:$class"
22+ # Move to special:minimized
23+ echo "moving to minimized workspace"
24+ hyprctl dispatch movetoworkspacesilent special:minimized, "class:$class"
2525 fi