From e09ba1238f6b691b627c34cbb2b8eac098daa2e1 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sat, 4 Jul 2015 23:24:14 -0400 Subject: Improve defaults --- xsft.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xsft.py') diff --git a/xsft.py b/xsft.py index 3846b85..cbb7be1 100755 --- a/xsft.py +++ b/xsft.py @@ -85,8 +85,10 @@ class MyWindow(Gtk.Window): self.box.add(Gtk.Label('Brightness')) self.brightness = self.add_hscale(20, 100) + self.brightness.set_value(80) self.box.add(Gtk.Label('Temperature (K)')) - self.temperature = self.add_hscale(1000, 40000) + self.temperature = self.add_hscale(1000, 25000) + self.temperature.set_value(5500) def add_hscale(self, min_val, max_val): scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, digits=0) -- cgit