Skip to content

Commit

Permalink
chore: dump config on debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrinux committed Oct 28, 2023
1 parent ca79149 commit 7695360
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use itertools::Itertools;
use log::info;
use log::{debug, info};
use pulsectl::controllers::types::DeviceInfo;
use pulsectl::controllers::{DeviceControl, SourceController};
use rdev::{grab, Event, EventType, Key};
Expand All @@ -26,6 +26,8 @@ fn main() -> Result<(), Box<dyn Error>> {
// Parse source environment variable
let source = parse_source();

debug!("Settings: source: {source:?}, keybind: {keybind_parsed:?}");

// Initialize mute state
let last_mute = Cell::new(true);
set_sources(true, &source)?;
Expand Down

0 comments on commit 7695360

Please sign in to comment.