Re-use variables in color definitions
[tj-awesome-themes.git] / Darklooks / theme.lua
index 15cffc5..498419a 100644 (file)
@@ -8,8 +8,8 @@
 -- the icon theme in gnome-themes package of GNOME 2.3x.
 -- freedesktop.org module for Awesome is required for the icon support.
 --
--- Theme also uses Droid Sans Mono font. On Ubuntu system this font
--- is available in the package ttf-droid.
+-- Theme also uses Inconsolata font. On Ubuntu system this font
+-- is available in the package fonts-inconsolata.
 
 local awful = require('awful')
 local freedesktop = { utils = require('freedesktop.utils') }
@@ -19,7 +19,7 @@ local theme = {}
 -- Icon theme and font
 freedesktop.utils.icon_theme                    = 'Adawaita'
 theme.icon_theme                                = freedesktop.utils.icon_theme
-theme.font                                      = 'Source Code Pro 10'
+theme.font                                      = 'Inconsolata Medium 12'
 theme.monospace_font                            = theme.font
 
 -- Colors
@@ -31,14 +31,14 @@ theme.bg_systray                                = theme.bg_normal
 
 theme.fg_normal                                 = '#e6e6e6'
 theme.fg_focus                                  = '#ffffff'
-theme.fg_urgent                                 = '#ffffff'
-theme.fg_minimize                               = '#7aa3cc'
+theme.fg_urgent                                 = theme.fg_focus
+theme.fg_minimize                               = theme.bg_focus
 
-theme.border_normal                             = '#e6e6e6'
-theme.border_focus                              = '#7aa3cc'
-theme.border_marked                             = '#7f55d7'
+theme.border_normal                             = theme.fg_normal
+theme.border_focus                              = theme.bg_focus
+theme.border_marked                             = theme.bg_urgent
 
-theme.bg_widget                                 = '#555753'
+theme.bg_widget                                 = theme.bg_normal
 theme.fg_widget                                 = '#aaaaaa'
 theme.fg_center_widget                          = '#555555'
 theme.fg_end_widget                             = '#000000'
@@ -52,7 +52,7 @@ theme.taglist_squares                           = 'true'
 theme.titlebar_close_button                     = 'true'
 theme.border_width                              = '1'
 theme.menu_height                               = '16'
-theme.menu_width                                = '100'
+theme.menu_width                                = '250'
 
 -- Use default images for layout, tasklist, taglist and menu submenus
 theme.layout_fairh                              = '/usr/share/awesome/themes/default/layouts/fairh.png'
@@ -76,31 +76,31 @@ theme.tasklist_floating_icon                    = '/usr/share/awesome/themes/def
 theme.menu_submenu_icon                         = '/usr/share/awesome/themes/default/submenu.png'
 
 -- Awesome icon
-theme.awesome_icon                              = awful.util.getdir('config') .. '/themes/Darklooks/awesome-icon.png'
+theme.awesome_icon                              = '/usr/share/awesome/icons/awesome16.png'
 
 -- Titlebar images
-theme.titlebar_close_button_normal              = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/close_normal.png'
-theme.titlebar_close_button_focus               = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/close_focus.png'
-
-theme.titlebar_ontop_button_normal_inactive     = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_normal_inactive.png'
-theme.titlebar_ontop_button_focus_inactive      = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_focus_inactive.png'
-theme.titlebar_ontop_button_normal_active       = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_normal_active.png'
-theme.titlebar_ontop_button_focus_active        = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_focus_active.png'
-
-theme.titlebar_sticky_button_normal_inactive    = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_normal_inactive.png'
-theme.titlebar_sticky_button_focus_inactive     = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_focus_inactive.png'
-theme.titlebar_sticky_button_normal_active      = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_normal_active.png'
-theme.titlebar_sticky_button_focus_active       = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_focus_active.png'
-
-theme.titlebar_floating_button_normal_inactive  = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_normal_inactive.png'
-theme.titlebar_floating_button_focus_inactive   = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_focus_inactive.png'
-theme.titlebar_floating_button_normal_active    = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_normal_active.png'
-theme.titlebar_floating_button_focus_active     = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_focus_active.png'
-
-theme.titlebar_maximized_button_normal_inactive = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_normal_inactive.png'
-theme.titlebar_maximized_button_focus_inactive  = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_focus_inactive.png'
-theme.titlebar_maximized_button_normal_active   = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_normal_active.png'
-theme.titlebar_maximized_button_focus_active    = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_focus_active.png'
+theme.titlebar_close_button_normal              = '/usr/share/awesome/themes/default/titlebar/close_normal.png'
+theme.titlebar_close_button_focus               = '/usr/share/awesome/themes/default/titlebar/close_focus.png'
+
+theme.titlebar_ontop_button_normal_inactive     = '/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png'
+theme.titlebar_ontop_button_focus_inactive      = '/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png'
+theme.titlebar_ontop_button_normal_active       = '/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png'
+theme.titlebar_ontop_button_focus_active        = '/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png'
+
+theme.titlebar_sticky_button_normal_inactive    = '/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png'
+theme.titlebar_sticky_button_focus_inactive     = '/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png'
+theme.titlebar_sticky_button_normal_active      = '/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png'
+theme.titlebar_sticky_button_focus_active       = '/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png'
+
+theme.titlebar_floating_button_normal_inactive  = '/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png'
+theme.titlebar_floating_button_focus_inactive   = '/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png'
+theme.titlebar_floating_button_normal_active    = '/usr/share/awesome/themes/default/titlebar/floating_normal_active.png'
+theme.titlebar_floating_button_focus_active     = '/usr/share/awesome/themes/default/titlebar/floating_focus_active.png'
+
+theme.titlebar_maximized_button_normal_inactive = '/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png'
+theme.titlebar_maximized_button_focus_inactive  = '/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png'
+theme.titlebar_maximized_button_normal_active   = '/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png'
+theme.titlebar_maximized_button_focus_active    = '/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png'
 
 -- Delightful Widget icons
 -- Generic icons