aboutsummaryrefslogtreecommitdiff
path: root/xsft.py
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2015-07-04 23:24:14 -0400
committerNicholas Bishop <nicholasbishop@gmail.com>2015-07-04 23:24:14 -0400
commite09ba1238f6b691b627c34cbb2b8eac098daa2e1 (patch)
tree802795dba7727e15f81945585fd7f6c28ddeccaa /xsft.py
parentInitial commit (diff)
downloadxbright-e09ba1238f6b691b627c34cbb2b8eac098daa2e1.tar.gz
xbright-e09ba1238f6b691b627c34cbb2b8eac098daa2e1.tar.bz2
xbright-e09ba1238f6b691b627c34cbb2b8eac098daa2e1.zip
Improve defaults
Diffstat (limited to 'xsft.py')
-rwxr-xr-xxsft.py4
1 files changed, 3 insertions, 1 deletions
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)
bgstack15