Merge pull request #25 from benmaddison/master

fix default config values
This commit is contained in:
Gregory 2020-11-14 20:15:34 -05:00 committed by GitHub
commit 37dae85b18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,8 @@ impl Default for Config {
// This seems repetitive but serde does not uses Default
Config {
enable_selector: false,
selector: std::env::var("TERMINAL").unwrap_or("xterm -e".into()),
terminal_emulator: "rofi -dmenu -p 'Open With: '".into(),
selector: "rofi -dmenu -p 'Open With: '".into(),
terminal_emulator: std::env::var("TERMINAL").unwrap_or("xterm -e".into()),
}
}
}