parent
2f36e073a3
commit
20760c898d
32 changed files with 95 additions and 38 deletions
@ -1,31 +1,8 @@ |
|||||||
[package] |
[workspace] |
||||||
name = "swayr" |
members = [ |
||||||
version = "0.17.0-alpha.0" |
"swayr", |
||||||
description = "A LRU window-switcher (and more) for the sway window manager" |
"swayrbar", |
||||||
homepage = "https://sr.ht/~tsdh/swayr/" |
] |
||||||
repository = "https://git.sr.ht/~tsdh/swayr" |
|
||||||
authors = ["Tassilo Horn <tsdh@gnu.org>"] |
|
||||||
license = "GPL-3.0+" |
|
||||||
edition = "2018" |
|
||||||
exclude = ["misc/"] |
|
||||||
|
|
||||||
[dependencies] |
|
||||||
battery = "0.7.8" |
|
||||||
chrono = "0.4" |
|
||||||
clap = {version = "3.0.0", features = ["derive"] } |
|
||||||
directories = "4.0" |
|
||||||
env_logger = { version = "0.9.0", default-features = false, features = ["termcolor", "atty", "humantime"] } # without regex |
|
||||||
log = "0.4" |
|
||||||
once_cell = "1.10.0" |
|
||||||
rand = "0.8.4" |
|
||||||
regex = "1.5.5" |
|
||||||
rt-format = "0.3.0" |
|
||||||
serde = { version = "1.0.126", features = ["derive"] } |
|
||||||
serde_json = "1.0.64" |
|
||||||
swaybar-types = "3.0.0" |
|
||||||
swayipc = "3.0.0" |
|
||||||
sysinfo = "0.23" |
|
||||||
toml = "0.5.8" |
|
||||||
|
|
||||||
[profile.release] |
[profile.release] |
||||||
lto = "thin" |
lto = "thin" |
||||||
|
@ -0,0 +1,24 @@ |
|||||||
|
[package] |
||||||
|
name = "swayr" |
||||||
|
version = "0.17.0-alpha.0" |
||||||
|
description = "A LRU window-switcher (and more) for the sway window manager" |
||||||
|
homepage = "https://sr.ht/~tsdh/swayr/" |
||||||
|
repository = "https://git.sr.ht/~tsdh/swayr" |
||||||
|
authors = ["Tassilo Horn <tsdh@gnu.org>"] |
||||||
|
license = "GPL-3.0+" |
||||||
|
edition = "2021" |
||||||
|
exclude = ["misc/"] |
||||||
|
|
||||||
|
[dependencies] |
||||||
|
clap = {version = "3.0.0", features = ["derive"] } |
||||||
|
directories = "4.0" |
||||||
|
env_logger = { version = "0.9.0", default-features = false, features = ["termcolor", "atty", "humantime"] } # without regex |
||||||
|
log = "0.4" |
||||||
|
once_cell = "1.10.0" |
||||||
|
rand = "0.8.4" |
||||||
|
regex = "1.5.5" |
||||||
|
rt-format = "0.3.0" |
||||||
|
serde = { version = "1.0.126", features = ["derive"] } |
||||||
|
serde_json = "1.0.64" |
||||||
|
swayipc = "3.0.0" |
||||||
|
toml = "0.5.8" |
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 434 KiB |
Before Width: | Height: | Size: 431 KiB After Width: | Height: | Size: 431 KiB |
@ -0,0 +1,25 @@ |
|||||||
|
[package] |
||||||
|
name = "swayrbar" |
||||||
|
version = "0.0.1" |
||||||
|
edition = "2021" |
||||||
|
homepage = "https://sr.ht/~tsdh/swayr/" |
||||||
|
repository = "https://git.sr.ht/~tsdh/swayr" |
||||||
|
authors = ["Tassilo Horn <tsdh@gnu.org>"] |
||||||
|
license = "GPL-3.0+" |
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
||||||
|
|
||||||
|
[dependencies] |
||||||
|
battery = "0.7.8" |
||||||
|
chrono = "0.4" |
||||||
|
env_logger = { version = "0.9.0", default-features = false, features = ["termcolor", "atty", "humantime"] } # without regex |
||||||
|
log = "0.4" |
||||||
|
once_cell = "1.10.0" |
||||||
|
regex = "1.5.5" |
||||||
|
rt-format = "0.3.0" |
||||||
|
serde = { version = "1.0.126", features = ["derive"] } |
||||||
|
serde_json = "1.0.64" |
||||||
|
swaybar-types = "3.0.0" |
||||||
|
swayipc = "3.0.0" |
||||||
|
sysinfo = "0.23" |
||||||
|
toml = "0.5.8" |
@ -0,0 +1 @@ |
|||||||
|
../../swayr/src/fmt_replace.rs |
@ -0,0 +1 @@ |
|||||||
|
../../swayr/src/ipc.rs |
@ -0,0 +1,19 @@ |
|||||||
|
// Copyright (C) 2021-2022 Tassilo Horn <tsdh@gnu.org>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify it
|
||||||
|
// under the terms of the GNU General Public License as published by the Free
|
||||||
|
// Software Foundation, either version 3 of the License, or (at your option)
|
||||||
|
// any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
// more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License along with
|
||||||
|
// this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
pub mod bar; |
||||||
|
pub mod fmt_replace; |
||||||
|
pub mod ipc; |
||||||
|
pub mod rtfmt; |
@ -0,0 +1 @@ |
|||||||
|
../../swayr/src/rtfmt.rs |
Loading…
Reference in new issue