summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2016-12-13 07:55:45 +0100
committerPeter Palfrader <peter@palfrader.org>2016-12-15 21:49:55 +0100
commit7f714ed9173fba309079ec1f75f64e39199977ed (patch)
tree87a7ea111ad439515904d7f4b5a8fb681eadf3d3
parent2820429675a2938f14348b42192a84f613b3f739 (diff)
Add theme
-rw-r--r--config/awesome/rc.lua3
-rw-r--r--config/awesome/themes/weasel/theme.lua108
2 files changed, 110 insertions, 1 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index ca71981..64e251c 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -41,7 +41,8 @@ end
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
-beautiful.init("/usr/share/awesome/themes/default/theme.lua")
+-- beautiful.init("/usr/share/awesome/themes/default/theme.lua")
+beautiful.init(awful.util.getdir("config") .. "/themes/weasel/theme.lua")
-- This is used later as the default terminal and editor to run.
terminal = "x-terminal-emulator"
diff --git a/config/awesome/themes/weasel/theme.lua b/config/awesome/themes/weasel/theme.lua
new file mode 100644
index 0000000..98b86f0
--- /dev/null
+++ b/config/awesome/themes/weasel/theme.lua
@@ -0,0 +1,108 @@
+
+theme = {}
+theme.bg_normal = "#222222"
+theme.bg_focus = "#333d4c"
+
+theme.border_width = 1
+theme.border_normal = "#222222"
+theme.border_focus = "#009966"
+
+theme.wallpaper = "/usr/share/wallpapers/joy/contents/images/1920x1200.png"
+
+-- XX --
+-- XX --theme.font = "sans 8"
+-- XX --
+-- XX --theme.bg_normal = "#222222"
+-- XX --theme.bg_focus = "#535d6c"
+-- XX --theme.bg_urgent = "#ff0000"
+-- XX --theme.bg_minimize = "#444444"
+-- XX --theme.bg_systray = theme.bg_normal
+-- XX --
+-- XX --theme.fg_normal = "#aaaaaa"
+-- XX --theme.fg_focus = "#ffffff"
+-- XX --theme.fg_urgent = "#ffffff"
+-- XX --theme.fg_minimize = "#ffffff"
+-- XX --
+-- XX --theme.border_width = 1
+-- XX --theme.border_normal = "#000000"
+-- XX --theme.border_focus = "#535d6c"
+-- XX --theme.border_marked = "#91231c"
+-- XX --
+-- XX ---- There are other variable sets
+-- XX ---- overriding the default one when
+-- XX ---- defined, the sets are:
+-- XX ---- taglist_[bg|fg]_[focus|urgent|occupied|empty]
+-- XX ---- tasklist_[bg|fg]_[focus|urgent]
+-- XX ---- titlebar_[bg|fg]_[normal|focus]
+-- XX ---- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
+-- XX ---- mouse_finder_[color|timeout|animate_timeout|radius|factor]
+-- XX ---- Example:
+-- XX ----theme.taglist_bg_focus = "#ff0000"
+-- XX --
+-- XX ---- Display the taglist squares
+-- XX --theme.taglist_squares_sel = "/usr/share/awesome/themes/default/taglist/squarefw.png"
+-- XX --theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.png"
+-- XX --
+-- XX ---- Variables set for theming the menu:
+-- XX ---- menu_[bg|fg]_[normal|focus]
+-- XX ---- menu_[border_color|border_width]
+-- XX --theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
+-- XX --theme.menu_height = 15
+-- XX --theme.menu_width = 100
+-- XX --
+-- XX ---- You can add as many variables as
+-- XX ---- you wish and access them by using
+-- XX ---- beautiful.variable in your rc.lua
+-- XX ----theme.bg_widget = "#cc0000"
+-- XX --
+-- XX ---- Define the image to load
+-- XX --theme.titlebar_close_button_normal = "/usr/share/awesome/themes/default/titlebar/close_normal.png"
+-- XX --theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png"
+-- XX --
+-- XX --theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png"
+-- XX --theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png"
+-- XX --theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png"
+-- XX --theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png"
+-- XX --
+-- XX --theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png"
+-- XX --theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png"
+-- XX --theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png"
+-- XX --theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png"
+-- XX --
+-- XX --theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png"
+-- XX --theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png"
+-- XX --theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png"
+-- XX --theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png"
+-- XX --
+-- XX --theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png"
+-- XX --theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png"
+-- XX --theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
+-- XX --theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
+-- XX --
+-- XX --theme.wallpaper = "/usr/share/awesome/themes/default/background.png"
+-- XX --
+-- XX ---- You can use your own layout icons like this:
+-- XX --theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"
+-- XX --theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png"
+-- XX --theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png"
+-- XX --theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png"
+-- XX --theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png"
+-- XX --theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png"
+-- XX --theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png"
+-- XX --theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png"
+-- XX --theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png"
+-- XX --theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png"
+-- XX --theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png"
+-- XX --theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png"
+-- XX --
+-- XX --theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
+-- XX --
+-- XX ---- Define the icon theme for application icons. If not set then the icons
+-- XX ---- from /usr/share/icons and /usr/share/icons/hicolor will be used.
+-- XX --theme.icon_theme = nil
+-- XX --
+-- XX --return theme
+-- XX ---- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
+--
+return theme
+-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80