docs: Spotify weird behaviour

This commit is contained in:
ziro 2023-04-08 07:30:33 +07:00
parent 373e608f2e
commit 041a5d2149
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -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