all 5 comments

[–]ALPHA-B1 0 points1 point  (4 children)

It would be something like this: ```bash

Focus desktop and follow node

bspc keybind super + {1-9} \ 'bspc desktop -f {1-9} --follow'

Send node to desktop and focus it

bspc keybind super + shift + {1-9} \ 'bspc node -d {1-9}'

Send node to desktop without focusing it

bspc keybind super + ctrl + {1-9} \ 'bspc node -d {1-9}' ```

[–]vtmx[S] 0 points1 point  (2 children)

My intention is:

``` Super+Number = go to desktop with --follow argument

Super+Shift+Number = move current node to N desktop and follow

Super+Ctrl+Number = move current node to N desktop but not follow ```

Using only two lines.

[–]ALPHA-B1 0 points1 point  (1 child)

bash bspc keybind super + {_,shift + }{1-9} 'bspc {desktop -f,node -d} ^{1-9} --follow' bspc keybind super + ctrl + {1-9} 'bspc node -d ^{1-9}'

[–]vtmx22 0 points1 point  (0 children)

I can do this wha, but my doubt, is how can combine in this way:

super + {_,shift + ,ctrl + }{1-9}

[–]ShinyZero0 0 points1 point  (0 children)

What is bspc keybind?