0.1.0 |
|
---|
#55 in #cmd
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
~102K SLoC