#window-manager #switch #seamlessly #key #cmd #config

yanked wmswitch

Switch between window managers seamlessly

0.1.0 Aug 24, 2024

#5 in #seamlessly

Download history 113/week @ 2024-08-19 13/week @ 2024-08-26

126 downloads per month

MIT license

9KB
120 lines

wmswitch

Switch between window managers seamlessly.

Usage

POSIX (Linux / FreeBSD / ...)

setsid wmswitch <KEY>

Configuration

The configuration file is $XDG_CONFIG_HOME/wmswitch/config.toml.

Here is an example of the config file:

[commands]
x11-default = { cmd = ["startx"], proc_name = "i3" }
wl-default = { cmd = ["startwl"], proc_name = "river" }
hyprland = { cmd = ["Hyprland"] }

Commands

Key

Used for calling the command

Value

cmd

Command for launching a window manager

["<CMD>"[, "<ARG>", ...]]

proc_name

Process name, by default is the entire command.

Dependencies

~2–13MB
~103K SLoC