theme.lua 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. -------------------------------
  2. -- "Zenburn" awesome theme --
  3. -- By Adrian C. (anrxc) --
  4. -------------------------------
  5. local themes_path = require("gears.filesystem").get_themes_dir()
  6. local dpi = require("beautiful.xresources").apply_dpi
  7. -- {{{ Main
  8. local theme = {}
  9. theme.wallpaper = themes_path .. "zenburn/zenburn-background.png"
  10. -- }}}
  11. -- {{{ Styles
  12. theme.font = "sans 8"
  13. -- {{{ Colors
  14. theme.fg_normal = "#DCDCCC"
  15. theme.fg_focus = "#F0DFAF"
  16. theme.fg_urgent = "#CC9393"
  17. theme.bg_normal = "#3F3F3F"
  18. theme.bg_focus = "#1E2320"
  19. theme.bg_urgent = "#3F3F3F"
  20. theme.bg_systray = theme.bg_normal
  21. -- }}}
  22. -- {{{ Borders
  23. theme.useless_gap = dpi(0)
  24. theme.border_width = dpi(2)
  25. theme.border_normal = "#3F3F3F"
  26. theme.border_focus = "#6F6F6F"
  27. theme.border_marked = "#CC9393"
  28. -- }}}
  29. -- {{{ Titlebars
  30. theme.titlebar_bg_focus = "#3F3F3F"
  31. theme.titlebar_bg_normal = "#3F3F3F"
  32. -- }}}
  33. -- There are other variable sets
  34. -- overriding the default one when
  35. -- defined, the sets are:
  36. -- [taglist|tasklist]_[bg|fg]_[focus|urgent|occupied|empty|volatile]
  37. -- titlebar_[normal|focus]
  38. -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
  39. -- Example:
  40. --theme.taglist_bg_focus = "#CC9393"
  41. -- }}}
  42. -- {{{ Widgets
  43. -- You can add as many variables as
  44. -- you wish and access them by using
  45. -- beautiful.variable in your rc.lua
  46. --theme.fg_widget = "#AECF96"
  47. --theme.fg_center_widget = "#88A175"
  48. --theme.fg_end_widget = "#FF5656"
  49. --theme.bg_widget = "#494B4F"
  50. --theme.border_widget = "#3F3F3F"
  51. -- }}}
  52. -- {{{ Mouse finder
  53. theme.mouse_finder_color = "#CC9393"
  54. -- mouse_finder_[timeout|animate_timeout|radius|factor]
  55. -- }}}
  56. -- {{{ Menu
  57. -- Variables set for theming the menu:
  58. -- menu_[bg|fg]_[normal|focus]
  59. -- menu_[border_color|border_width]
  60. theme.menu_height = dpi(15)
  61. theme.menu_width = dpi(100)
  62. -- }}}
  63. -- {{{ Icons
  64. -- {{{ Taglist
  65. theme.taglist_squares_sel = themes_path .. "zenburn/taglist/squarefz.png"
  66. theme.taglist_squares_unsel = themes_path .. "zenburn/taglist/squarez.png"
  67. --theme.taglist_squares_resize = "false"
  68. -- }}}
  69. -- {{{ Misc
  70. theme.awesome_icon = themes_path .. "zenburn/awesome-icon.png"
  71. theme.menu_submenu_icon = themes_path .. "default/submenu.png"
  72. -- }}}
  73. -- {{{ Layout
  74. theme.layout_tile = themes_path .. "zenburn/layouts/tile.png"
  75. theme.layout_tileleft = themes_path .. "zenburn/layouts/tileleft.png"
  76. theme.layout_tilebottom = themes_path .. "zenburn/layouts/tilebottom.png"
  77. theme.layout_tiletop = themes_path .. "zenburn/layouts/tiletop.png"
  78. theme.layout_fairv = themes_path .. "zenburn/layouts/fairv.png"
  79. theme.layout_fairh = themes_path .. "zenburn/layouts/fairh.png"
  80. theme.layout_spiral = themes_path .. "zenburn/layouts/spiral.png"
  81. theme.layout_dwindle = themes_path .. "zenburn/layouts/dwindle.png"
  82. theme.layout_max = themes_path .. "zenburn/layouts/max.png"
  83. theme.layout_fullscreen = themes_path .. "zenburn/layouts/fullscreen.png"
  84. theme.layout_magnifier = themes_path .. "zenburn/layouts/magnifier.png"
  85. theme.layout_floating = themes_path .. "zenburn/layouts/floating.png"
  86. theme.layout_cornernw = themes_path .. "zenburn/layouts/cornernw.png"
  87. theme.layout_cornerne = themes_path .. "zenburn/layouts/cornerne.png"
  88. theme.layout_cornersw = themes_path .. "zenburn/layouts/cornersw.png"
  89. theme.layout_cornerse = themes_path .. "zenburn/layouts/cornerse.png"
  90. -- }}}
  91. -- {{{ Titlebar
  92. theme.titlebar_close_button_focus = themes_path .. "zenburn/titlebar/close_focus.png"
  93. theme.titlebar_close_button_normal = themes_path .. "zenburn/titlebar/close_normal.png"
  94. theme.titlebar_minimize_button_normal = themes_path .. "default/titlebar/minimize_normal.png"
  95. theme.titlebar_minimize_button_focus = themes_path .. "default/titlebar/minimize_focus.png"
  96. theme.titlebar_ontop_button_focus_active = themes_path .. "zenburn/titlebar/ontop_focus_active.png"
  97. theme.titlebar_ontop_button_normal_active = themes_path .. "zenburn/titlebar/ontop_normal_active.png"
  98. theme.titlebar_ontop_button_focus_inactive = themes_path .. "zenburn/titlebar/ontop_focus_inactive.png"
  99. theme.titlebar_ontop_button_normal_inactive = themes_path .. "zenburn/titlebar/ontop_normal_inactive.png"
  100. theme.titlebar_sticky_button_focus_active = themes_path .. "zenburn/titlebar/sticky_focus_active.png"
  101. theme.titlebar_sticky_button_normal_active = themes_path .. "zenburn/titlebar/sticky_normal_active.png"
  102. theme.titlebar_sticky_button_focus_inactive = themes_path .. "zenburn/titlebar/sticky_focus_inactive.png"
  103. theme.titlebar_sticky_button_normal_inactive = themes_path .. "zenburn/titlebar/sticky_normal_inactive.png"
  104. theme.titlebar_floating_button_focus_active = themes_path .. "zenburn/titlebar/floating_focus_active.png"
  105. theme.titlebar_floating_button_normal_active = themes_path .. "zenburn/titlebar/floating_normal_active.png"
  106. theme.titlebar_floating_button_focus_inactive = themes_path .. "zenburn/titlebar/floating_focus_inactive.png"
  107. theme.titlebar_floating_button_normal_inactive = themes_path .. "zenburn/titlebar/floating_normal_inactive.png"
  108. theme.titlebar_maximized_button_focus_active = themes_path .. "zenburn/titlebar/maximized_focus_active.png"
  109. theme.titlebar_maximized_button_normal_active = themes_path .. "zenburn/titlebar/maximized_normal_active.png"
  110. theme.titlebar_maximized_button_focus_inactive = themes_path .. "zenburn/titlebar/maximized_focus_inactive.png"
  111. theme.titlebar_maximized_button_normal_inactive = themes_path .. "zenburn/titlebar/maximized_normal_inactive.png"
  112. -- }}}
  113. -- }}}
  114. return theme
  115. -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80