theme.lua 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. ---------------------------
  2. -- Modified Default awesome theme --
  3. ---------------------------
  4. theme = {}
  5. theme.font = "Cantarell 10"
  6. theme.bg_normal = "#333333"
  7. theme.bg_focus = "#2099d6"--"#535d6c"
  8. theme.bg_urgent = "#ff0000"
  9. theme.bg_minimize = "#444444"
  10. theme.bg_systray = theme.bg_normal
  11. theme.fg_normal = "#ffffff"
  12. theme.fg_focus = "#ffffff"
  13. theme.fg_urgent = "#ffffff"
  14. theme.fg_minimize = "#ffffff"
  15. theme.border_width = 1
  16. theme.border_normal = "#000000"
  17. theme.border_focus = "#535d6c"
  18. theme.border_marked = "#91231c"
  19. -- There are other variable sets
  20. -- overriding the default one when
  21. -- defined, the sets are:
  22. -- taglist_[bg|fg]_[focus|urgent|occupied|empty]
  23. -- tasklist_[bg|fg]_[focus|urgent]
  24. -- titlebar_[bg|fg]_[normal|focus]
  25. -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
  26. -- mouse_finder_[color|timeout|animate_timeout|radius|factor]
  27. -- Example:
  28. --theme.taglist_bg_focus = "#ff0000"
  29. -- Display the taglist squares
  30. theme.taglist_squares_sel = "/usr/share/awesome/themes/default/taglist/squarefw.png"
  31. theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.png"
  32. -- Variables set for theming the menu:
  33. -- menu_[bg|fg]_[normal|focus]
  34. -- menu_[border_color|border_width]
  35. theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
  36. theme.menu_height = 15
  37. theme.menu_width = 100
  38. -- You can add as many variables as
  39. -- you wish and access them by using
  40. -- beautiful.variable in your rc.lua
  41. --theme.bg_widget = "#cc0000"
  42. -- Define the image to load
  43. theme.titlebar_close_button_normal = "/usr/share/awesome/themes/default/titlebar/close_normal.png"
  44. theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png"
  45. theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png"
  46. theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png"
  47. theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png"
  48. theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png"
  49. theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png"
  50. theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png"
  51. theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png"
  52. theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png"
  53. theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png"
  54. theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png"
  55. theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png"
  56. theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png"
  57. theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png"
  58. theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png"
  59. theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
  60. theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
  61. theme.wallpaper = "/usr/share/awesome/themes/default/background.png"
  62. -- You can use your own layout icons like this:
  63. theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"
  64. theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png"
  65. theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png"
  66. theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png"
  67. theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png"
  68. theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png"
  69. theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png"
  70. theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png"
  71. theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png"
  72. theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png"
  73. theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png"
  74. theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png"
  75. theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
  76. -- Define the icon theme for application icons. If not set then the icons
  77. -- from /usr/share/icons and /usr/share/icons/hicolor will be used.
  78. theme.icon_theme = nil
  79. theme.blingbling = {
  80. graph_color = theme.bg_focus .."99",
  81. graph_line_color = theme.bg_focus
  82. }
  83. theme.blingbling.tagslist = {}
  84. theme.blingbling.tagslist.normal ={-- background_color =
  85. --widget_background,--rgb(26,26,26),
  86. text_background_color = "#00000000", --no color
  87. -- rounded_size = { 0, 0.4,0,0.4 },
  88. -- text_color = theme.fg_normal,
  89. font = "Cantarell",
  90. font_size = 16
  91. }
  92. theme.blingbling.tagslist.focus = { --h_margin = 1,
  93. --v_margin = 1,
  94. --background_color = red,
  95. text_background_color = "#00000000",
  96. --text_color = theme.fg_normal,
  97. --rounded_size = { 0, 0.4,0,0.4 },
  98. font = "Cantarell",
  99. font_size = 16
  100. }
  101. local cal_common_style = { h_margin = 0,
  102. v_margin = 0,
  103. rounded_size = 0.3,
  104. background_color = "#00000066",
  105. text_background_color = "#00000000",
  106. text_color = "#ffffff",
  107. font ="Cantarell"
  108. }
  109. theme.blingbling.calendar = {}
  110. local util = require('awful.util')
  111. theme.blingbling.calendar.prev_next_widget_style = util.table.clone(cal_common_style)
  112. theme.blingbling.calendar.current_date_widget_style = util.table.clone(cal_common_style)
  113. theme.blingbling.calendar.days_of_week_widget_style = util.table.clone(cal_common_style)
  114. theme.blingbling.calendar.days_of_month_widget_style = util.table.clone(cal_common_style)
  115. theme.blingbling.calendar.weeks_number_widget_style = util.table.clone(cal_common_style)
  116. theme.blingbling.calendar.corner_widget_style = util.table.clone(cal_common_style)
  117. theme.blingbling.calendar.current_day_widget_style = util.table.clone(cal_common_style)
  118. theme.blingbling.calendar.focus_widget_style = util.table.clone(cal_common_style)
  119. theme.blingbling.calendar.info_cell_style = util.table.clone(cal_common_style)
  120. theme.blingbling.calendar.info_cell_style.background_color = transparent
  121. theme.blingbling.calendar.current_day_widget_style.background_color = theme.bg_focus
  122. theme.blingbling.calendar.current_day_widget_style.text_color = "#000000"
  123. theme.blingbling.calendar.current_day_widget_style.rounded_size = {0.5,0,0.5,0}
  124. theme.blingbling.calendar.focus_widget_style.background_color = "#888888"
  125. theme.blingbling.calendar.focus_widget_style.rounded_size = {0,0.5,0,0.5}
  126. theme.blingbling.calendar.days_of_week_widget_style.text_color = "#bbbbbb"
  127. theme.blingbling.calendar.days_of_week_widget_style.background_color ="#00000022"
  128. theme.blingbling.calendar.corner_widget_style.text_color = "#bbbbbb"
  129. theme.blingbling.calendar.corner_widget_style.background_color = "#00000022"
  130. theme.blingbling.calendar.weeks_number_widget_style.text_color = "#bbbbbb"
  131. theme.blingbling.calendar.weeks_number_widget_style.background_color = "#00000022"
  132. return theme
  133. -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80