We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 891d846 + 4545a52 commit 0c0dde0Copy full SHA for 0c0dde0
src/main.rs
@@ -68,16 +68,9 @@ fn build_ui(app: &Application) {
68
.build();
69
// Connect to "clicked" signal of `button`
70
button1.connect_clicked(move |_| {
71
- println!("Trying to open settings!"); //DEBUG
72
-
73
- // Ideally we should grab if nvidia-settings 'failed' somehow or exited normally
74
match subprocess::exec_check(&[OsStr::new("nvidia-settings")], None::<&gio::Cancellable>) {
75
- Ok(_x) => {
76
- println!("........yay"); //DEBUG
77
- }
78
- Err(_y) => {
79
- println!("........fak"); //DEBUG
80
+ Ok(_x) => println!("Opening the Nvidia Settings app.."),
+ Err(_y) => println!("An error occured while opening the Nvidia Settings app..")
81
};
82
});
83
// Button Child 2
0 commit comments