wmswitch

Crates.iowmswitch
lib.rswmswitch
version0.1.0
sourcesrc
created_at2024-08-24 13:22:26.571989
updated_at2024-08-24 13:22:26.571989
descriptionSwitch between window managers seamlessly
homepage
repositoryhttps://github.com/chardoncs/wmswitch.git
max_upload_size
id1350265
size24,747
Charles Dong (chardoncs)

documentation

README

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.

Commit count: 0

cargo fmt