theme.lua 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. -------------------------------
  2. -- "Sky" awesome theme --
  3. -- By Andrei "Garoth" Thorp --
  4. -------------------------------
  5. -- If you want SVGs and extras, get them from garoth.com/awesome/sky-theme
  6. local theme_assets = require("beautiful.theme_assets")
  7. local xresources = require("beautiful.xresources")
  8. local dpi = xresources.apply_dpi
  9. local themes_path = require("gears.filesystem").get_themes_dir()
  10. -- BASICS
  11. local theme = {}
  12. theme.font = "sans 8"
  13. theme.bg_focus = "#e2eeea"
  14. theme.bg_normal = "#729fcf"
  15. theme.bg_urgent = "#fce94f"
  16. theme.bg_minimize = "#0067ce"
  17. theme.bg_systray = theme.bg_normal
  18. theme.fg_normal = "#2e3436"
  19. theme.fg_focus = "#2e3436"
  20. theme.fg_urgent = "#2e3436"
  21. theme.fg_minimize = "#2e3436"
  22. theme.useless_gap = dpi(0)
  23. theme.border_width = dpi(2)
  24. theme.border_normal = "#dae3e0"
  25. theme.border_focus = "#729fcf"
  26. theme.border_marked = "#eeeeec"
  27. -- IMAGES
  28. theme.layout_fairh = themes_path .. "sky/layouts/fairh.png"
  29. theme.layout_fairv = themes_path .. "sky/layouts/fairv.png"
  30. theme.layout_floating = themes_path .. "sky/layouts/floating.png"
  31. theme.layout_magnifier = themes_path .. "sky/layouts/magnifier.png"
  32. theme.layout_max = themes_path .. "sky/layouts/max.png"
  33. theme.layout_fullscreen = themes_path .. "sky/layouts/fullscreen.png"
  34. theme.layout_tilebottom = themes_path .. "sky/layouts/tilebottom.png"
  35. theme.layout_tileleft = themes_path .. "sky/layouts/tileleft.png"
  36. theme.layout_tile = themes_path .. "sky/layouts/tile.png"
  37. theme.layout_tiletop = themes_path .. "sky/layouts/tiletop.png"
  38. theme.layout_spiral = themes_path .. "sky/layouts/spiral.png"
  39. theme.layout_dwindle = themes_path .. "sky/layouts/dwindle.png"
  40. theme.layout_cornernw = themes_path .. "sky/layouts/cornernw.png"
  41. theme.layout_cornerne = themes_path .. "sky/layouts/cornerne.png"
  42. theme.layout_cornersw = themes_path .. "sky/layouts/cornersw.png"
  43. theme.layout_cornerse = themes_path .. "sky/layouts/cornerse.png"
  44. theme.awesome_icon = themes_path .. "sky/awesome-icon.png"
  45. -- from default for now...
  46. theme.menu_submenu_icon = themes_path .. "default/submenu.png"
  47. -- Generate taglist squares:
  48. local taglist_square_size = dpi(4)
  49. theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
  50. taglist_square_size, theme.fg_normal
  51. )
  52. theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
  53. taglist_square_size, theme.fg_normal
  54. )
  55. -- MISC
  56. theme.wallpaper = themes_path .. "sky/sky-background.png"
  57. theme.taglist_squares = "true"
  58. theme.titlebar_close_button = "true"
  59. theme.menu_height = dpi(15)
  60. theme.menu_width = dpi(100)
  61. -- Define the image to load
  62. theme.titlebar_close_button_normal = themes_path .. "default/titlebar/close_normal.png"
  63. theme.titlebar_close_button_focus = themes_path .. "default/titlebar/close_focus.png"
  64. theme.titlebar_minimize_button_normal = themes_path .. "default/titlebar/minimize_normal.png"
  65. theme.titlebar_minimize_button_focus = themes_path .. "default/titlebar/minimize_focus.png"
  66. theme.titlebar_ontop_button_normal_inactive = themes_path .. "default/titlebar/ontop_normal_inactive.png"
  67. theme.titlebar_ontop_button_focus_inactive = themes_path .. "default/titlebar/ontop_focus_inactive.png"
  68. theme.titlebar_ontop_button_normal_active = themes_path .. "default/titlebar/ontop_normal_active.png"
  69. theme.titlebar_ontop_button_focus_active = themes_path .. "default/titlebar/ontop_focus_active.png"
  70. theme.titlebar_sticky_button_normal_inactive = themes_path .. "default/titlebar/sticky_normal_inactive.png"
  71. theme.titlebar_sticky_button_focus_inactive = themes_path .. "default/titlebar/sticky_focus_inactive.png"
  72. theme.titlebar_sticky_button_normal_active = themes_path .. "default/titlebar/sticky_normal_active.png"
  73. theme.titlebar_sticky_button_focus_active = themes_path .. "default/titlebar/sticky_focus_active.png"
  74. theme.titlebar_floating_button_normal_inactive = themes_path .. "default/titlebar/floating_normal_inactive.png"
  75. theme.titlebar_floating_button_focus_inactive = themes_path .. "default/titlebar/floating_focus_inactive.png"
  76. theme.titlebar_floating_button_normal_active = themes_path .. "default/titlebar/floating_normal_active.png"
  77. theme.titlebar_floating_button_focus_active = themes_path .. "default/titlebar/floating_focus_active.png"
  78. theme.titlebar_maximized_button_normal_inactive = themes_path .. "default/titlebar/maximized_normal_inactive.png"
  79. theme.titlebar_maximized_button_focus_inactive = themes_path .. "default/titlebar/maximized_focus_inactive.png"
  80. theme.titlebar_maximized_button_normal_active = themes_path .. "default/titlebar/maximized_normal_active.png"
  81. theme.titlebar_maximized_button_focus_active = themes_path .. "default/titlebar/maximized_focus_active.png"
  82. return theme
  83. -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80