Skip to content

Commit fbe9ee6

Browse files
authored
new message for unknown variants (#6)
* new message for unknown variants * update readme
1 parent 8cdca17 commit fbe9ee6

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ Swayidle inhibitor that automatically detects audio / video and will prevent you
66

77
The main function of this project is to keep any sway based WM from going into an idle state when consuming media. Swaddle will monitor the dbus running daemon and based on values it sees in `Playback Status` will correctly cause idling or inhibition.
88

9-
## Dependencies
10-
11-
* `dirs`: Config setup
12-
* `config`: Config building
13-
* `dbus`: Interfacing with the D-Bus.
14-
* `env_logger`: Better log handling
15-
* `toml`: For creating config file
16-
* `serde`: To serialize toml
17-
189
## Testing
1910

2011
Swaddle includes comprehensive tests including D-Bus integration tests with a mock media player.

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ impl IdleApp {
129129
};
130130

131131
let MessageItem::Variant(ref value) = arg else {
132-
log::debug!("Not a Variant . . . IDK what to do so I will throw it away. It is a {:?}", arg);
132+
log::debug!(
133+
"Not a Variant . . . IDK what to do...throwing it away. It is a {:?}",
134+
arg
135+
);
133136
continue;
134137
};
135138

0 commit comments

Comments
 (0)