You are not logged in.
I'd like to set up an alias to toggle between 'focus follows mouse' and 'focus follows click' for when I'm working with more than one terminal window.
I'm aware of the setting under, settings > window manager > focus tab. I've checked out 'xfwm4 --help' but not much info there.
Is it possible to set focus follows mouse from the CLI?
I'm on Arch, Xfce version 4.16
Edit: add info
Got as far as:
xfconf-query -c xfwm4 click_to_focus
xfconf-query -c xfwm4 /general/click_to_focus
$ xfconf-query -c xfwm4 /general/click_to_focus -T
No property specified.
How would I get the property? I thought -T was for toggle.
Edit: add info
OK I think I've figured it out:
xfconf-query -c xfwm4 -p /general/click_to_focus -T
Put the following alias in my ~/.bashrc, works as expected.
alias ffm=" xfconf-query -c xfwm4 -p /general/click_to_focus -T"
Last edited by jeff story (2021-12-04 17:53:14)
aka Cody_Learner https://github.com/Cody-Learner
Offline
[ Generated in 0.012 seconds, 9 queries executed - Memory usage: 513.01 KiB (Peak: 513.85 KiB) ]