~tsdh/public-inbox

1

Swayr config reload info + cycling through workspaces

Wojciech Jablonski <wojablonski@gmail.com>
Details
Message ID
<CAH4sY_vFxRrXF_P5oFgXXNxau1cSwvmLexJ+woF3paj+m1xg_Q@mail.gmail.com>
DKIM signature
missing
Download raw message
Hi, what a great tool! However, an information on how to reload/update
swayr's configuration seems to be missing from the Readme. It seems
one has to fully restart sway for it, but an info would be very
convenient.

Secondly, maybe it would be easy for you to introduce an option to
cycle through recent workspaces? Or strictly speaking, to cycle
through recent windows in such a way, that an iteration must show a
workspace not yet visited during this cycle.

Thanks a lot!

Wojciech Jablonski
Details
Message ID
<87y1hhjc35.fsf@gnu.org>
In-Reply-To
<CAH4sY_vFxRrXF_P5oFgXXNxau1cSwvmLexJ+woF3paj+m1xg_Q@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Wojciech Jablonski <wojablonski@gmail.com> writes:

Hi Wojciech,

> Hi, what a great tool! 

Thanks!

> However, an information on how to reload/update swayr's configuration
> seems to be missing from the Readme. It seems one has to fully restart
> sway for it, but an info would be very convenient.

No, you can just execute "killall swayrd; swayrd" in a shell.  You might
also use

  exec_always killall swayrd; swayrd

in your sway config which would re-start swayrd everytime you reload you
sway config.  Of course, then the recency-info of the existing windows
is lost.

> Secondly, maybe it would be easy for you to introduce an option to
> cycle through recent workspaces? Or strictly speaking, to cycle
> through recent windows in such a way, that an iteration must show a
> workspace not yet visited during this cycle.

I use

bindsym $mod+Tab exec swayr switch-to-matching-or-urgent-or-lru-window -u -l -o TRUE

in my sway config with the swayr setting

[misc]
auto_nop_delay = 1000

which makes it so that when repeatedly hitting $mod+Tab quickly (= with
less than 1 second between presses), I'll eventually visit every window
on any workspace.  Maybe that's something handy for you, too?

Bye,
Tassilo
Reply to thread Export thread (mbox)