Compare commits
8
Commits
dryrun
...
desktop-escape
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4dc0c1ce0 | ||
|
|
d80a64444f | ||
|
|
456d61de01 | ||
|
|
ab2655556f | ||
|
|
f0331e65b1 | ||
|
|
25c7322c4b | ||
|
|
7af5c34856 | ||
|
|
e8def40fae |
Generated
+2
-2
@@ -1280,8 +1280,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
|
checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wldash2"
|
name = "wldash"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"calloop",
|
"calloop",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|||||||
+6
-3
@@ -1,13 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wldash2"
|
name = "wldash"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
edition = "2024"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
#debug = true
|
#debug = true
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["fontconfig"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wayland-client = { version = "0.30", features = ["calloop", "log"] }
|
wayland-client = { version = "0.30", features = ["calloop", "log"] }
|
||||||
wayland-protocols = { version = "0.30", features = ["client", "unstable", "staging"] }
|
wayland-protocols = { version = "0.30", features = ["client", "unstable", "staging"] }
|
||||||
|
|||||||
@@ -6,6 +6,10 @@ A dashboard/launcher/control-panel thing for Wayland. Requires wlr-layer-shell-u
|
|||||||
|
|
||||||
Consider this alpha-quality: While it works, *everything* is subject to change with a moments notice. You may end up pulling in the latest changes, and *poof*, wldash suddenly turns into an artisan espresso machine.
|
Consider this alpha-quality: While it works, *everything* is subject to change with a moments notice. You may end up pulling in the latest changes, and *poof*, wldash suddenly turns into an artisan espresso machine.
|
||||||
|
|
||||||
|
## Rewrite note
|
||||||
|
|
||||||
|
wldash has received a significant rewrite. The old version is available in the wldash1 branch for now.
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
1. Checkout: `git clone https://github.com/kennylevinsen/wldash`
|
1. Checkout: `git clone https://github.com/kennylevinsen/wldash`
|
||||||
@@ -13,9 +17,9 @@ Consider this alpha-quality: While it works, *everything* is subject to change w
|
|||||||
3. Put somewhere: `cp target/release/wldash /usr/local/bin/wldash`
|
3. Put somewhere: `cp target/release/wldash /usr/local/bin/wldash`
|
||||||
4. Run: `wldash`
|
4. Run: `wldash`
|
||||||
|
|
||||||
To see the default configuration, run `wldash print-config`. To configure, place a file in `$XDG_CONFIG_HOME/wldash/config.yaml` (or if `XDG_CONFIG_HOME` is not set, `~/.config/wldash/config.yaml`). JSON is also currently supported.
|
To generate a new default configuration, run `wldash --write-default-config`. To configure, edit `$XDG_CONFIG_HOME/wldash/config.yml` (or if `XDG_CONFIG_HOME` is not set, `~/.config/wldash/config.yaml`).
|
||||||
|
|
||||||
Notable settings: `outptuMode` can be `active` or `all`, `scale` can be set to `2` to half the buffer size, and the widgets (and their layout) can be configured.
|
To regenerate the desktop file cache, run `wldash --desktop-refresh`.
|
||||||
|
|
||||||
For more info, look in `src/config.rs`.
|
For more info, look in `src/config.rs`.
|
||||||
|
|
||||||
@@ -63,9 +67,6 @@ The launcher also accepts prefix operators to change its mode:
|
|||||||
## Notable missing features:
|
## Notable missing features:
|
||||||
|
|
||||||
- Scaling of any kind - all sizes are currently hardcoded in pixels
|
- Scaling of any kind - all sizes are currently hardcoded in pixels
|
||||||
- Configurability
|
|
||||||
- Cleanup and reorganization
|
|
||||||
- Proper line editor for the launcher
|
|
||||||
|
|
||||||
## How to discuss
|
## How to discuss
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -141,7 +141,7 @@ impl State {
|
|||||||
activation.activate(key, surface);
|
activation.activate(key, surface);
|
||||||
let activation_token = activation.get_activation_token(qh, ());
|
let activation_token = activation.get_activation_token(qh, ());
|
||||||
activation_token.commit();
|
activation_token.commit();
|
||||||
env::remove_var("XDG_ACTIVATION_TOKEN");
|
unsafe { env::remove_var("XDG_ACTIVATION_TOKEN"); }
|
||||||
}
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -269,6 +269,7 @@ impl InterfaceWidget for Launcher {
|
|||||||
let d = &self.matches[intf.selection];
|
let d = &self.matches[intf.selection];
|
||||||
if let Some(exec) = &d.exec {
|
if let Some(exec) = &d.exec {
|
||||||
let exec = exec
|
let exec = exec
|
||||||
|
.replace("\\\\", "\\")
|
||||||
.replace("%f", "")
|
.replace("%f", "")
|
||||||
.replace("%F", "")
|
.replace("%F", "")
|
||||||
.replace("%u", "")
|
.replace("%u", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user