From 4e152b3b77572e8d2914d68857e89a4cf3ac42d1 Mon Sep 17 00:00:00 2001 From: Dan Ponte Date: Sun, 15 Jan 2023 11:35:06 -0500 Subject: [PATCH] Ready --- Cargo.toml | 4 ++++ Makefile | 7 +++++++ README.md | 13 +++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 Makefile create mode 100644 README.md diff --git a/Cargo.toml b/Cargo.toml index 941a4f9..50c97d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,5 +5,9 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +strip = true +lto = true + [dependencies.i3ipc] version = "0.10.1" diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b39b58a --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +all: release + +release: + cargo build --release + +clean: + cargo clean diff --git a/README.md b/README.md new file mode 100644 index 0000000..a986a44 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +`swarp-rs` swaps the first two i3 output workspaces. This is the Rust version. + +# Building + +Type `make` + +# Using + +Bind like + +``` +bindsym $mod+Shift+s exec --no-startup-id swarp-rs +```