Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to move spotify to desktop 8, what I'm I doing wrong? #1011

Closed
ghost opened this issue Sep 12, 2019 · 2 comments
Closed

Trying to move spotify to desktop 8, what I'm I doing wrong? #1011

ghost opened this issue Sep 12, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 12, 2019

❯ bspc rule -a spotify desktop="^8"

~
❯ bspc rule -a spotify desktop='^8'

~
❯ bspc rule -a Spotify desktop='^8'

~
❯ man bspc

~ took 22s
❯ bspc rule -a :Spotify desktop='^8'

~
❯ bspc rule -a :spotify desktop='^8'

~
❯ xprop
_NET_WM_ICON(CARDINAL) =
WM_CLASS(STRING) = "spotify", "Spotify"
WM_NAME(STRING) = "Spotify Premium"
_NET_WM_NAME(UTF8_STRING) = "Spotify Premium"
_NET_WM_DESKTOP(CARDINAL) = 5
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
XdndProxy(WINDOW): window id # 0x2a00002
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                window gravity: Static
_NET_WM_PID(CARDINAL) = 11083
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "fluffy.local"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING

~ took 2s
❯ bspc rule -a "Spotify" desktop='^8'

~
❯ bspc rule -a "Spotify Premium" desktop='^8'

~
❯ bspc rule -a Spotify Premium desktop='^8'
@ghost
Copy link

ghost commented Sep 13, 2019

According to man bspwm you have to move the node with the bspc node -d ^8 command.
Your current actions won't move the node to another desktop.

Oh, and of course: with the command given by me you can move only focused node. To do that with not focused node you need to specify its id (thanks to your output it's clear that the id is 0x2a00002) or use other suitable selectors described in man bspwm.

@baskerville
Copy link
Owner

This is a duplicate of #291.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant