diff --git a/src/scripts/terminal-helper b/src/scripts/terminal-helper
index 02ace113..808b96cd 100755
--- a/src/scripts/terminal-helper
+++ b/src/scripts/terminal-helper
@@ -99,3 +99,5 @@ eval "${terminals[${terminal}]}" 2>/dev/null || {
fi
}
rm "$file"
+
+### to do : add ptyxis support ( i cant seem to do it)
\ No newline at end of file
diff --git a/src/window.rs b/src/window.rs
index 7f8ceaab..3da32387 100644
--- a/src/window.rs
+++ b/src/window.rs
@@ -27,6 +27,11 @@ impl HelloWindow {
preferences: serde_json::Value,
best_locale: &str,
) -> Self {
+ // Set dark theme preference
+ if let Some(settings) = gtk::Settings::default() {
+ settings.set_property("gtk-application-prefer-dark-theme", true);
+ }
+
// Import Css
let provider = gtk::CssProvider::new();
provider.load_from_resource(&format!("{RESPREFIX}/ui/style.css"));
diff --git a/ui/cachyos-hello.glade b/ui/cachyos-hello.glade
index 9262c11e..bad9cd76 100644
--- a/ui/cachyos-hello.glade
+++ b/ui/cachyos-hello.glade
@@ -382,6 +382,9 @@ We, the CachyOS Developers, hope that you will enjoy using CachyOS as much as we
True
False
True
+ 10
+ 0
+ 0
@@ -406,8 +407,6 @@ We, the CachyOS Developers, hope that you will enjoy using CachyOS as much as we
False
True
Common application selection
- 15
- 15
False
diff --git a/ui/style.css b/ui/style.css
index 3286b48e..b745192f 100644
--- a/ui/style.css
+++ b/ui/style.css
@@ -1,6 +1,8 @@
window {
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
+ background-color: #1d1d1d; /* Darker than default Adwaita dark */
+ color: #e0e0e0;
}
#tweaksBrowserpage button {
@@ -24,4 +26,6 @@ window {
.aboutdialog {
border-radius: 7px;
+ background-color: #1d1d1d;
+ color: #e0e0e0;
}