You are not logged in.
Hi,
I like to see a solution for the following situation; i have a triple monitor setup with on each monitor 4 virtual desktops. However, to switch to those desktops i have to use the MOD+1-4 for the first desktop, MOD+5-8 for the 2nd and for the third desktop i need the next keys.
I would like to only use the MOD+1-4, and just switch the desktop which is active. For example:
Mouse is on monitor 1: MOD+1-4 changes the workspaces on monitor 1
Mouse is on monitor 2: MOD+1-4 changes the workspaces on monitor 2
etc..
The current config i have (the default one):
super + {_,shift + }{1-9,0}
bspc {desktop -f,window -d} ^{1-9,10}is this possible to do, if so, which is a great way to do it
?
Answer:
bspc {desktop -f,window -d} focused:^{1-9,10}Original subject: BSPWM and SXHKD moving between virtualdesktops based on mouse potition
Last edited by Dragon707 (2014-07-05 15:36:26)
Offline
Take a look at the Desktop and Monitor selectors on the man page.
DESKTOP_SEL := <desktop_name>
| [MONITOR_SEL:]^<n>
| (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[.oc
cupied|.free][.urgent][.local]
[...]
MONITOR_SEL := <monitor_name>
| ^<n>
| (DIR|CYCLE_DIR|last|primary|focused|older|newer)[.occupied|.free]Notice the desktop selector [MONITOR_SEL:]^<n> and below.
I only have a single monitor, so this is all I can help ![]()
Last edited by o_caino (2014-07-05 14:32:40)
Offline
Take a look at the Desktop and Monitor selectors on the man page.
DESKTOP_SEL := <desktop_name> | [MONITOR_SEL:]^<n> | (CYCLE_DIR|last|[MONITOR_SEL:]focused|older|newer)[.oc cupied|.free][.urgent][.local] [...] MONITOR_SEL := <monitor_name> | ^<n> | (DIR|CYCLE_DIR|last|primary|focused|older|newer)[.occupied|.free]Notice the desktop selector [MONITOR_SEL:]^<n> and below.
I only have a single monitor, so this is all I can help
Thanks for your reply!
However, ive tried the following, but it doesnt seems to work.
super + {_,shift + }{1-9,0}
bspc monitor -focused {desktop -f,window -d} ^{1-9,10}Offline
I think it would be something like
bspc {desktop -f,window -d} focused:^{1-9,10}Offline
I think it would be something like
bspc {desktop -f,window -d} focused:^{1-9,10}
Thanks, it works!
I still dont get the syntax haha, time to mess around with it ![]()
Offline