Advertisement
constantin-net

awesome/themes/haru/theme.lua

Jun 25th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.80 KB | None | 0 0
  1. ----------------------------
  2. -- haru transparent theme --
  3. ----------------------------
  4.  
  5. theme = {}
  6.  
  7. theme.font          = "Droid Sans Bold 12"
  8. config_dir = awful.util.getdir("config")
  9.  
  10. theme.wallpaper_cmd = { "feh --bg-fill " .. config_dir .. "/current_wall" }
  11.  
  12. theme.bg_normal     = "#00000000"
  13. theme.bg_focus      = "#A1787026"
  14. theme.bg_urgent     = "#ff000085"
  15. theme.bg_minimize   = "#111111cc"
  16.  
  17. theme.fg_normal     = "#A8989F" -- цвет текста не в фокусе
  18. theme.fg_focus      = "#FDFCFC" -- цвет текста в фокусе
  19. theme.fg_urgent     = "#ffffff"
  20. theme.fg_minimize   = "#aaaaaa"
  21.  
  22. theme.border_width  = "2"
  23. theme.border_normal = "#00000000"
  24. theme.border_focus  = "#b07a99cf"
  25. theme.border_marked = "#91231c85"
  26.  
  27. theme.useless_gap_width = 50
  28.  
  29. -- There are other variable sets
  30. -- overriding the default one when
  31. -- defined, the sets are:
  32. -- [taglist|tasklist]_[bg|fg]_[focus|urgent]
  33. -- titlebar_[bg|fg]_[normal|focus]
  34. -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
  35. -- mouse_finder_[color|timeout|animate_timeout|radius|factor]
  36. -- Example:
  37. theme.taglist_bg_focus = "#00000000"
  38.  
  39. -- Display the taglist squares
  40. --theme.taglist_squares_sel   = config_dir .. "/themes/haru/taglist/squarefw.png"
  41. --theme.taglist_squares_unsel = config_dir .. "/themes/haru/taglist/squarew.png"
  42. theme.taglist_squares_sel   = config_dir .. "/themes/haru/taglist/point_hl.png"
  43. theme.taglist_squares_unsel = config_dir .. "/themes/haru/taglist/point.png"
  44.  
  45. theme.tasklist_floating_icon = config_dir .. "/themes/haru/tasklist/floatingw.png"
  46.  
  47. -- Variables set for theming the menu:
  48. -- menu_[bg|fg]_[normal|focus]
  49. -- menu_[border_color|border_width]
  50. --theme.menu_fg_focus = config_dir .. "/22025.png"
  51. --theme.menu_bg_focus = config_dir .. "/22025.png"
  52. theme.menu_submenu_icon = config_dir .. "/themes/haru/submenu.png"
  53. theme.menu_height = "25"
  54. theme.menu_width  = "220"
  55.  
  56. -- You can add as many variables as
  57. -- you wish and access them by using
  58. -- beautiful.variable in your rc.lua
  59. --theme.bg_widget = "#cc0000"
  60.  
  61. -- Define the image to load
  62. theme.titlebar_close_button_normal = config_dir .. "/themes/haru/titlebar/close_normal.png"
  63. theme.titlebar_close_button_focus  = config_dir .. "/themes/haru/titlebar/close_focus.png"
  64.  
  65. theme.titlebar_ontop_button_normal_inactive = config_dir .. "/themes/haru/titlebar/ontop_normal_inactive.png"
  66. theme.titlebar_ontop_button_focus_inactive  = config_dir .. "/themes/haru/titlebar/ontop_focus_inactive.png"
  67. theme.titlebar_ontop_button_normal_active = config_dir .. "/themes/haru/titlebar/ontop_normal_active.png"
  68. theme.titlebar_ontop_button_focus_active  = config_dir .. "/themes/haru/titlebar/ontop_focus_active.png"
  69.  
  70. theme.titlebar_sticky_button_normal_inactive = config_dir .. "/themes/haru/titlebar/sticky_normal_inactive.png"
  71. theme.titlebar_sticky_button_focus_inactive  = config_dir .. "/themes/haru/titlebar/sticky_focus_inactive.png"
  72. theme.titlebar_sticky_button_normal_active = config_dir .. "/themes/haru/titlebar/sticky_normal_active.png"
  73. theme.titlebar_sticky_button_focus_active  = config_dir .. "/themes/haru/titlebar/sticky_focus_active.png"
  74.  
  75. theme.titlebar_floating_button_normal_inactive = config_dir .. "/themes/haru/titlebar/floating_normal_inactive.png"
  76. theme.titlebar_floating_button_focus_inactive  = config_dir .. "/themes/haru/titlebar/floating_focus_inactive.png"
  77. theme.titlebar_floating_button_normal_active = config_dir .. "/themes/haru/titlebar/floating_normal_active.png"
  78. theme.titlebar_floating_button_focus_active  = config_dir .. "/themes/haru/titlebar/floating_focus_active.png"
  79.  
  80. theme.titlebar_maximized_button_normal_inactive = config_dir .. "/themes/haru/titlebar/maximized_normal_inactive.png"
  81. theme.titlebar_maximized_button_focus_inactive  = config_dir .. "/themes/haru/titlebar/maximized_focus_inactive.png"
  82. theme.titlebar_maximized_button_normal_active = config_dir .. "/themes/haru/titlebar/maximized_normal_active.png"
  83. theme.titlebar_maximized_button_focus_active  = config_dir .. "/themes/haru/titlebar/maximized_focus_active.png"
  84.  
  85. -- You can use your own layout icons like this:
  86. theme.layout_dwindle = config_dir .. "/themes/haru/layouts/dwindle.png"
  87. theme.layout_fairh = config_dir .. "/themes/haru/layouts/fairh.png"
  88. theme.layout_fairv = config_dir .. "/themes/haru/layouts/fairv.png"
  89. theme.layout_floating  = config_dir .. "/themes/haru/layouts/floating.png"
  90. theme.layout_magnifier = config_dir .. "/themes/haru/layouts/magnifier.png"
  91. theme.layout_max = config_dir .. "/themes/haru/layouts/max.png"
  92. theme.layout_fullscreen = config_dir .. "/themes/haru/layouts/fullscreen.png"
  93. theme.layout_tilebottom = config_dir .. "/themes/haru/layouts/tilebottom.png"
  94. theme.layout_tileleft   = config_dir .. "/themes/haru/layouts/tileleft.png"
  95. theme.layout_tile = config_dir .. "/themes/haru/layouts/tile.png"
  96. theme.layout_tiletop = config_dir .. "/themes/haru/layouts/tiletop.png"
  97. theme.layout_spiral  = config_dir .. "/themes/haru/layouts/spiral.png"
  98.  
  99.  
  100. theme.awesome_icon_r = config_dir .. "/themes/haru/awesome32_r.png"
  101. theme.awesome_icon = config_dir .. "/themes/haru/awesome32.png"
  102. theme.awesome_home = "/usr/share/icons/moblin/48x48/actions/go-home.png"
  103. theme.media_next = "/usr/share/icons/moblin/48x48/actions/media-skip-forward.png"
  104. theme.media_prev = "/usr/share/icons/moblin/48x48/actions/media-skip-backward.png"
  105. theme.media_pause = "/usr/share/icons/moblin/48x48/actions/media-playback-pause.png"
  106. theme.media_ff = "/usr/share/icons/moblin/48x48/actions/media-seek-forward.png"
  107. theme.media_info = "/usr/share/icons/moblin/48x48/status/dialog-information.png"
  108. theme.media_play = "/usr/share/icons/moblin/48x48/actions/media-playback-start.png"
  109. theme.close_key = "/usr/share/icons/moblin/24x24/actions/gtk-close.png"
  110.  
  111. return theme
  112. -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement