Skip to content

Commit

Permalink
Rename project (last time)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anfid committed Aug 30, 2021
1 parent 6d494b6 commit ca80fe6
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "waswm"
name = "coppe-wm"
version = "0.0.1"
authors = ["Mikhail Pogretskiy <[email protected]>"]
edition = "2018"
Expand Down
12 changes: 6 additions & 6 deletions Makefile.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[tasks.install]
description = "Installs waswm in /usr/local/bin."
description = "Installs coppe-wm in /usr/local/bin."
script = [
"cargo build --release",
"echo Installing in /usr/local/bin",
"sudo mkdir -p /usr/local/bin",
"sudo cp -f target/release/waswm /usr/local/bin",
"sudo chmod 755 /usr/local/bin/waswm",
"sudo cp -f target/release/coppe-wm /usr/local/bin",
"sudo chmod 755 /usr/local/bin/coppe-wm",

"sudo mkdir -p /usr/local/share/xsessions",
"sudo cp configuration/xsessions/waswm.desktop /usr/local/share/xsessions",
"sudo cp configuration/xsessions/coppe-wm.desktop /usr/local/share/xsessions",
]

[tasks.xephyr]
description = "Tests the debug build inside xnest"
script = [
"cargo build",
"Xephyr -name 'waswm' -br -ac -noreset -screen 1024x768 +xinerama :2 &",
"sleep 1 && RUST_LOG=${RUST_LOG:-waswm} DISPLAY=:2 exec target/debug/waswm"
"Xephyr -name 'coppe-wm' -br -ac -noreset -screen 1024x768 +xinerama :2 &",
"sleep 1 && RUST_LOG=${RUST_LOG:-coppe-wm} DISPLAY=:2 exec target/debug/coppe-wm"
]
6 changes: 3 additions & 3 deletions configuration/xsessions/waswm.desktop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=waswm
Name=coppe-wm
Comment=Window manager configurable with WASM plugins
TryExec=waswm
Exec=waswm
TryExec=coppe-wm
Exec=coppe-wm
Type=Application
4 changes: 2 additions & 2 deletions src/runner/plug_mgr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ impl PluginManager {
let plugin_dir = std::env::var("XDG_CONFIG_HOME")
.map(|path| {
let mut path = std::path::PathBuf::from(path);
path.push("waswm");
path.push("coppe-wm");
path
})
.or_else(|_| {
std::env::var("HOME").map(|path| {
let mut path = std::path::PathBuf::from(path);
path.push(".config");
path.push("waswm");
path.push("coppe-wm");
path
})
})
Expand Down

0 comments on commit ca80fe6

Please sign in to comment.