removed step
This commit is contained in:
parent
b3ce6858e9
commit
24730ee3da
1 changed files with 2 additions and 3 deletions
|
@ -108,11 +108,10 @@ impl Hotkeys {
|
|||
}
|
||||
|
||||
pub fn toggle_computer_sound(&self, value: bool) {
|
||||
let direction: u8 = if value {1} else {0};
|
||||
let time_delay = self.hotkeys["general"]["music_fade_time"].as_i64().unwrap();
|
||||
if cfg!(target_family = "windows") {
|
||||
Command::new(String::from(AHK_FILES_FOLDER) + "music_toggle.exe")
|
||||
.arg(direction.to_string())
|
||||
.arg((value as u8).to_string())
|
||||
.arg(time_delay.to_string())
|
||||
.spawn()
|
||||
.expect("next_slide process call failed");
|
||||
|
|
Loading…
Reference in a new issue