Assistance with special workspaces.
I need some help troubleshooting my hyprland build.
I am trying to run plexamp in a special workspace, so that it is not always in my view, and call it to focus using a hotkey when I need it, or interact with a panel widget.
This worked well in hyprpanel until the latest update of hyprland where it does not get sent to a special workspace. Here are the relevant bits of my config files.
hyprpanel/modules.json (I know, not hyprland, I just can't figure out how to do this in hyprland, so please educate me if you are wiser than I)
{
"custom": {
"plexamp_toggle": {
"label": "",
"command": "hyprctl dispatch togglespecialworkspace plexamp",
"tooltip": "Toggle Plexamp"
}
}
}
hypr/hyprland.conf
$mainMod = SUPER
bind = $mainMod, grave, togglespecialworkspace, plexamp
windowrule {
name = plexamp-dock
match:class = ^(Plexamp)$
workspace = special:plexamp silent
float = yes
size = 30% 90%
move = 69% 5%
}
Now, in my troubleshooting, I have decided to move to lua, and I get the same problem/behavior.
hypr/hyprland.lua
require("conf/keybinds")
require("conf/windowrules")
hypr/conf/keybinds.lua
hl.bind(mainMod .. " + grave", hl.dsp.workspace.toggle_special("plexamp"))
hypr/conf/windowrules.lua
hl.window_rule({
name = "plexamp-dock",
match = { class = "Plexamp" },
workspace = "special:plexamp",
float = true,
size = { "30%", "90%" },
move = { "69%", "5%" },
})