Skip to content

Commit 69320f7

Browse files
Updateed README
1 parent 98b10f8 commit 69320f7

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ The CLI client allows the user to interact with the config manager. Primary func
115115
resdb --get key1
116116
```
117117

118-
## TODO: xrerscat replacement (rescat)
118+
## Get resource value (rescat)
119119

120-
`rescat` is a drop-in replacement for `xrerscat`. It is currently a WIP.
120+
`rescat` is a drop-in replacement for `xrerscat` and prints the vlaue of the requested resouorce. For more info, see the ([xrerscat](https://github.com/regolith-linux/xrescat)) documentation.
121121

122122
## Client API (for C)
123123

examples/partials.d/swayidle

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ swayidle.lock.cmd:swaylock -f
33
swayidle.screen_off.timeout: 130
44
swayidle.screen_off.cmd: 'swaymsg "output * dpms off"'
55
swayidle.screen_off.resume: 'swaymsg "output * dpms on"'
6+
*timeout*:100
67
swayidle.sleep.timeout: 300
78
swayidle.sleep.cmd: 'systemctl suspend'
89
swayidle.before_sleep: 'swaylock -f --grace 0'

resdb/tests/common.rs

+8-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ pub async fn arg_filename_default() -> HashMap<String, String> {
8585
edit: None,
8686
backup: None,
8787
get: None,
88-
query: None
88+
query: None,
89+
remove: false
8990
};
9091
let client = Client::new().await.unwrap();
9192
client.run(&args).await.unwrap();
@@ -106,7 +107,8 @@ pub async fn arg_load() -> HashMap<String, String> {
106107
edit: None,
107108
backup: None,
108109
get: None,
109-
query: None
110+
query: None,
111+
remove: false
110112
};
111113
let client = Client::new().await.unwrap();
112114
client.run(&args).await.unwrap();
@@ -126,7 +128,8 @@ pub async fn arg_merge() -> HashMap<String, String> {
126128
edit: None,
127129
backup: None,
128130
get: None,
129-
query: None
131+
query: None,
132+
remove: false
130133
};
131134
let client = Client::new().await.unwrap();
132135
client.run(&args).await.unwrap();
@@ -168,7 +171,8 @@ pub async fn arg_edit(bak: Option<String>) -> (String, String, String) {
168171
edit: Some(path.clone()),
169172
backup: bak.clone(),
170173
get: None,
171-
query: None
174+
query: None,
175+
remove: false
172176
};
173177
let client = Client::new().await.unwrap();
174178
client.run(&args).await.unwrap();

0 commit comments

Comments
 (0)