From 041a5d21491497984553e68e5fd7acf92894fec9 Mon Sep 17 00:00:00 2001 From: ziro Date: Sat, 8 Apr 2023 07:30:33 +0700 Subject: [PATCH] docs: Spotify weird behaviour --- .config/hypr/hyprland.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b0c7535..920b49b 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -78,6 +78,17 @@ master { # workspace_swipe = off #} +# Seems like spotify spawn act a bit different compared to most process spawn, +# my workaround for now is by creating a shell script, since I use shell script for spotify anyway to inject adblocker it's no problem to me: +# ======================== +# #!/bin/sh +# LD_PRELOAD=/usr/local/lib/spotify-adblock.so $(realpath -L $(which spotify)) --no-zygote --disable-gpu --disable-software-rasterizer & +# sleep 0.5 # wait a bit until spotify ready before toggling off float for spotify +# hyprctl dispatch togglefloating '^(Spotify)$' +# ======================== +#windowrule = unset,^(Spotify)$ +#windowrule = tile,^(Spotify)$ + # Alt Key = Mostly for terminals only $mainMod = SUPER # Super Key = General MOD for WM $metaMod = SUPER ALT # Super + Alt = MOD key(s) that control/modify the WM's behaviour