i3-wk-switch icon indicating copy to clipboard operation
i3-wk-switch copied to clipboard

Annoying flicker

Open tmfink opened this issue 10 years ago • 1 comments

Currently, there may be several "swaps" of workspaces on outputs which causes an annoying visual "flicker". We should investigate if there is another way to put workspaces on specific outputs without causing a flicker.

tmfink avatar Jun 18 '15 18:06 tmfink

Hey @tmfink . Don't have a good or robust solution. I've searched around similar projects and there does not appear to be much that can be done easily. I do have a stupid way to do it which hasn't had any dire consequences yet :)

You can pause the i3bar process while the script is running and then un-pause like so:

pr=$(pgrep i3bar)
kill -STOP "${pr}"
$HOME/.config/i3/scripts/i3-wk-switch/i3-wk-switch.py "$1"
kill -CONT "${pr}"

It is horribly jank, but that makes it more fun to me.

starr-dusT avatar Dec 07 '22 07:12 starr-dusT