vesktop: fix focus script for Discord

This commit is contained in:
Tigor Hutasuhut 2024-10-24 17:38:13 +07:00
parent 589e185170
commit 37e6c5d0c7

View file

@ -30,8 +30,8 @@ in
home.file.".config/autostart/discord.sh" = lib.mkIf cfg.autostart { source = autostartScriptFile; };
services.swaync.settings.scripts._10-discord = {
app-name = "(?=discord|vesktop)";
exec = "hyprctl dispatch focuswindow $SWAYNC_APP_NAME";
app-name = "[Vv]esktop";
exec = "hyprctl dispatch focuswindow vesktop";
run-on = "action";
};
};