diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 89c0fcd4..bf75e138 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -49,7 +49,7 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. -beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") +beautiful.init(gears.filesystem.get_configuration_dir() .. "default/theme.lua") -- This is used later as the default terminal and editor to run. terminal = "kitty" diff --git a/config/awesome/themes/default/README b/config/awesome/themes/default/README new file mode 100644 index 00000000..1ddb3497 --- /dev/null +++ b/config/awesome/themes/default/README @@ -0,0 +1,3 @@ +Background images: + Mikael Eriksson + Licensed under CC-BY-SA-3.0 diff --git a/config/awesome/themes/default/background.png b/config/awesome/themes/default/background.png new file mode 100644 index 00000000..8f52b6bb Binary files /dev/null and b/config/awesome/themes/default/background.png differ diff --git a/config/awesome/themes/default/background_white.png b/config/awesome/themes/default/background_white.png new file mode 100644 index 00000000..bb0c5d0d Binary files /dev/null and b/config/awesome/themes/default/background_white.png differ diff --git a/config/awesome/themes/default/layouts/cornerne.png b/config/awesome/themes/default/layouts/cornerne.png new file mode 100644 index 00000000..c85bd56a Binary files /dev/null and b/config/awesome/themes/default/layouts/cornerne.png differ diff --git a/config/awesome/themes/default/layouts/cornernew.png b/config/awesome/themes/default/layouts/cornernew.png new file mode 100644 index 00000000..c3fd9861 Binary files /dev/null and b/config/awesome/themes/default/layouts/cornernew.png differ diff --git a/config/awesome/themes/default/layouts/cornernw.png b/config/awesome/themes/default/layouts/cornernw.png new file mode 100644 index 00000000..dfe78b3d Binary files /dev/null and b/config/awesome/themes/default/layouts/cornernw.png differ diff --git a/config/awesome/themes/default/layouts/cornernww.png b/config/awesome/themes/default/layouts/cornernww.png new file mode 100644 index 00000000..f489010a Binary files /dev/null and b/config/awesome/themes/default/layouts/cornernww.png differ diff --git a/config/awesome/themes/default/layouts/cornerse.png b/config/awesome/themes/default/layouts/cornerse.png new file mode 100644 index 00000000..023ae79a Binary files /dev/null and b/config/awesome/themes/default/layouts/cornerse.png differ diff --git a/config/awesome/themes/default/layouts/cornersew.png b/config/awesome/themes/default/layouts/cornersew.png new file mode 100644 index 00000000..f7cfa1c0 Binary files /dev/null and b/config/awesome/themes/default/layouts/cornersew.png differ diff --git a/config/awesome/themes/default/layouts/cornersw.png b/config/awesome/themes/default/layouts/cornersw.png new file mode 100644 index 00000000..c1453c9f Binary files /dev/null and b/config/awesome/themes/default/layouts/cornersw.png differ diff --git a/config/awesome/themes/default/layouts/cornersww.png b/config/awesome/themes/default/layouts/cornersww.png new file mode 100644 index 00000000..a65a0430 Binary files /dev/null and b/config/awesome/themes/default/layouts/cornersww.png differ diff --git a/config/awesome/themes/default/layouts/dwindle.png b/config/awesome/themes/default/layouts/dwindle.png new file mode 100644 index 00000000..9902d22d Binary files /dev/null and b/config/awesome/themes/default/layouts/dwindle.png differ diff --git a/config/awesome/themes/default/layouts/dwindlew.png b/config/awesome/themes/default/layouts/dwindlew.png new file mode 100644 index 00000000..9199049b Binary files /dev/null and b/config/awesome/themes/default/layouts/dwindlew.png differ diff --git a/config/awesome/themes/default/layouts/fairh.png b/config/awesome/themes/default/layouts/fairh.png new file mode 100644 index 00000000..d41deead Binary files /dev/null and b/config/awesome/themes/default/layouts/fairh.png differ diff --git a/config/awesome/themes/default/layouts/fairhw.png b/config/awesome/themes/default/layouts/fairhw.png new file mode 100644 index 00000000..bb50e3ae Binary files /dev/null and b/config/awesome/themes/default/layouts/fairhw.png differ diff --git a/config/awesome/themes/default/layouts/fairv.png b/config/awesome/themes/default/layouts/fairv.png new file mode 100644 index 00000000..f5f02888 Binary files /dev/null and b/config/awesome/themes/default/layouts/fairv.png differ diff --git a/config/awesome/themes/default/layouts/fairvw.png b/config/awesome/themes/default/layouts/fairvw.png new file mode 100644 index 00000000..4f4ed522 Binary files /dev/null and b/config/awesome/themes/default/layouts/fairvw.png differ diff --git a/config/awesome/themes/default/layouts/floating.png b/config/awesome/themes/default/layouts/floating.png new file mode 100644 index 00000000..b8061a05 Binary files /dev/null and b/config/awesome/themes/default/layouts/floating.png differ diff --git a/config/awesome/themes/default/layouts/floatingw.png b/config/awesome/themes/default/layouts/floatingw.png new file mode 100644 index 00000000..48158942 Binary files /dev/null and b/config/awesome/themes/default/layouts/floatingw.png differ diff --git a/config/awesome/themes/default/layouts/fullscreen.png b/config/awesome/themes/default/layouts/fullscreen.png new file mode 100644 index 00000000..d02f6fc3 Binary files /dev/null and b/config/awesome/themes/default/layouts/fullscreen.png differ diff --git a/config/awesome/themes/default/layouts/fullscreenw.png b/config/awesome/themes/default/layouts/fullscreenw.png new file mode 100644 index 00000000..5c35bfa8 Binary files /dev/null and b/config/awesome/themes/default/layouts/fullscreenw.png differ diff --git a/config/awesome/themes/default/layouts/magnifier.png b/config/awesome/themes/default/layouts/magnifier.png new file mode 100644 index 00000000..2925414a Binary files /dev/null and b/config/awesome/themes/default/layouts/magnifier.png differ diff --git a/config/awesome/themes/default/layouts/magnifierw.png b/config/awesome/themes/default/layouts/magnifierw.png new file mode 100644 index 00000000..62095566 Binary files /dev/null and b/config/awesome/themes/default/layouts/magnifierw.png differ diff --git a/config/awesome/themes/default/layouts/max.png b/config/awesome/themes/default/layouts/max.png new file mode 100644 index 00000000..8d208445 Binary files /dev/null and b/config/awesome/themes/default/layouts/max.png differ diff --git a/config/awesome/themes/default/layouts/maxw.png b/config/awesome/themes/default/layouts/maxw.png new file mode 100644 index 00000000..85f5ce3a Binary files /dev/null and b/config/awesome/themes/default/layouts/maxw.png differ diff --git a/config/awesome/themes/default/layouts/spiral.png b/config/awesome/themes/default/layouts/spiral.png new file mode 100644 index 00000000..d9434be1 Binary files /dev/null and b/config/awesome/themes/default/layouts/spiral.png differ diff --git a/config/awesome/themes/default/layouts/spiralw.png b/config/awesome/themes/default/layouts/spiralw.png new file mode 100644 index 00000000..b78dd865 Binary files /dev/null and b/config/awesome/themes/default/layouts/spiralw.png differ diff --git a/config/awesome/themes/default/layouts/tile.png b/config/awesome/themes/default/layouts/tile.png new file mode 100644 index 00000000..3ede21e8 Binary files /dev/null and b/config/awesome/themes/default/layouts/tile.png differ diff --git a/config/awesome/themes/default/layouts/tilebottom.png b/config/awesome/themes/default/layouts/tilebottom.png new file mode 100644 index 00000000..6f8c2570 Binary files /dev/null and b/config/awesome/themes/default/layouts/tilebottom.png differ diff --git a/config/awesome/themes/default/layouts/tilebottomw.png b/config/awesome/themes/default/layouts/tilebottomw.png new file mode 100644 index 00000000..a1de7b29 Binary files /dev/null and b/config/awesome/themes/default/layouts/tilebottomw.png differ diff --git a/config/awesome/themes/default/layouts/tileleft.png b/config/awesome/themes/default/layouts/tileleft.png new file mode 100644 index 00000000..31d68704 Binary files /dev/null and b/config/awesome/themes/default/layouts/tileleft.png differ diff --git a/config/awesome/themes/default/layouts/tileleftw.png b/config/awesome/themes/default/layouts/tileleftw.png new file mode 100644 index 00000000..cf14c25e Binary files /dev/null and b/config/awesome/themes/default/layouts/tileleftw.png differ diff --git a/config/awesome/themes/default/layouts/tiletop.png b/config/awesome/themes/default/layouts/tiletop.png new file mode 100644 index 00000000..98cade20 Binary files /dev/null and b/config/awesome/themes/default/layouts/tiletop.png differ diff --git a/config/awesome/themes/default/layouts/tiletopw.png b/config/awesome/themes/default/layouts/tiletopw.png new file mode 100644 index 00000000..d1d0872b Binary files /dev/null and b/config/awesome/themes/default/layouts/tiletopw.png differ diff --git a/config/awesome/themes/default/layouts/tilew.png b/config/awesome/themes/default/layouts/tilew.png new file mode 100644 index 00000000..fde2ca4e Binary files /dev/null and b/config/awesome/themes/default/layouts/tilew.png differ diff --git a/config/awesome/themes/default/submenu.png b/config/awesome/themes/default/submenu.png new file mode 100644 index 00000000..b2778e2e Binary files /dev/null and b/config/awesome/themes/default/submenu.png differ diff --git a/config/awesome/themes/default/taglist/squarefw.png b/config/awesome/themes/default/taglist/squarefw.png new file mode 100644 index 00000000..2a864309 Binary files /dev/null and b/config/awesome/themes/default/taglist/squarefw.png differ diff --git a/config/awesome/themes/default/taglist/squarew.png b/config/awesome/themes/default/taglist/squarew.png new file mode 100644 index 00000000..913f2ca6 Binary files /dev/null and b/config/awesome/themes/default/taglist/squarew.png differ diff --git a/config/awesome/themes/default/theme.lua b/config/awesome/themes/default/theme.lua new file mode 100644 index 00000000..466a1f74 --- /dev/null +++ b/config/awesome/themes/default/theme.lua @@ -0,0 +1,132 @@ +--------------------------- +-- Default awesome theme -- +--------------------------- + +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local gfs = require("gears.filesystem") +local themes_path = gfs.get_themes_dir() + +local theme = {} + +theme.font = "sans 8" + +theme.bg_normal = "#222222" +theme.bg_focus = "#535d6c" +theme.bg_urgent = "#ff0000" +theme.bg_minimize = "#444444" +theme.bg_systray = theme.bg_normal + +theme.fg_normal = "#aaaaaa" +theme.fg_focus = "#ffffff" +theme.fg_urgent = "#ffffff" +theme.fg_minimize = "#ffffff" + +theme.useless_gap = dpi(0) +theme.border_width = dpi(1) +theme.border_normal = "#000000" +theme.border_focus = "#535d6c" +theme.border_marked = "#91231c" + +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] +-- tasklist_[bg|fg]_[focus|urgent] +-- titlebar_[bg|fg]_[normal|focus] +-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] +-- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] +-- Example: +--theme.taglist_bg_focus = "#ff0000" + +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- notification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] + +-- Variables set for theming the menu: +-- menu_[bg|fg]_[normal|focus] +-- menu_[border_color|border_width] +theme.menu_submenu_icon = themes_path .. "default/submenu.png" +theme.menu_height = dpi(15) +theme.menu_width = dpi(100) + +-- You can add as many variables as +-- you wish and access them by using +-- beautiful.variable in your rc.lua +--theme.bg_widget = "#cc0000" + +-- Define the image to load +theme.titlebar_close_button_normal = themes_path .. "default/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path .. "default/titlebar/close_focus.png" + +theme.titlebar_minimize_button_normal = themes_path .. "default/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path .. "default/titlebar/minimize_focus.png" + +theme.titlebar_ontop_button_normal_inactive = themes_path .. "default/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path .. "default/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path .. "default/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path .. "default/titlebar/ontop_focus_active.png" + +theme.titlebar_sticky_button_normal_inactive = themes_path .. "default/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path .. "default/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path .. "default/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path .. "default/titlebar/sticky_focus_active.png" + +theme.titlebar_floating_button_normal_inactive = themes_path .. "default/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path .. "default/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path .. "default/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path .. "default/titlebar/floating_focus_active.png" + +theme.titlebar_maximized_button_normal_inactive = themes_path .. "default/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path .. "default/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path .. "default/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path .. "default/titlebar/maximized_focus_active.png" + +-- wall paper to paper +theme.wallpaper = "/home/sako/background.png" + +-- You can use your own layout icons like this: +theme.layout_fairh = themes_path .. "default/layouts/fairhw.png" +theme.layout_fairv = themes_path .. "default/layouts/fairvw.png" +theme.layout_floating = themes_path .. "default/layouts/floatingw.png" +theme.layout_magnifier = themes_path .. "default/layouts/magnifierw.png" +theme.layout_max = themes_path .. "default/layouts/maxw.png" +theme.layout_fullscreen = themes_path .. "default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path .. "default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path .. "default/layouts/tileleftw.png" +theme.layout_tile = themes_path .. "default/layouts/tilew.png" +theme.layout_tiletop = themes_path .. "default/layouts/tiletopw.png" +theme.layout_spiral = themes_path .. "default/layouts/spiralw.png" +theme.layout_dwindle = themes_path .. "default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path .. "default/layouts/cornernww.png" +theme.layout_cornerne = themes_path .. "default/layouts/cornernew.png" +theme.layout_cornersw = themes_path .. "default/layouts/cornersww.png" +theme.layout_cornerse = themes_path .. "default/layouts/cornersew.png" + +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) + +-- Define the icon theme for application icons. If not set then the icons +-- from /usr/share/icons and /usr/share/icons/hicolor will be used. +theme.icon_theme = nil + +return theme + +-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/config/awesome/themes/default/titlebar/close_focus.png b/config/awesome/themes/default/titlebar/close_focus.png new file mode 100644 index 00000000..01ef8256 Binary files /dev/null and b/config/awesome/themes/default/titlebar/close_focus.png differ diff --git a/config/awesome/themes/default/titlebar/close_normal.png b/config/awesome/themes/default/titlebar/close_normal.png new file mode 100644 index 00000000..5448ed8f Binary files /dev/null and b/config/awesome/themes/default/titlebar/close_normal.png differ diff --git a/config/awesome/themes/default/titlebar/floating_focus_active.png b/config/awesome/themes/default/titlebar/floating_focus_active.png new file mode 100644 index 00000000..82dcc7ca Binary files /dev/null and b/config/awesome/themes/default/titlebar/floating_focus_active.png differ diff --git a/config/awesome/themes/default/titlebar/floating_focus_inactive.png b/config/awesome/themes/default/titlebar/floating_focus_inactive.png new file mode 100644 index 00000000..c19ba800 Binary files /dev/null and b/config/awesome/themes/default/titlebar/floating_focus_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/floating_normal_active.png b/config/awesome/themes/default/titlebar/floating_normal_active.png new file mode 100644 index 00000000..62342d19 Binary files /dev/null and b/config/awesome/themes/default/titlebar/floating_normal_active.png differ diff --git a/config/awesome/themes/default/titlebar/floating_normal_inactive.png b/config/awesome/themes/default/titlebar/floating_normal_inactive.png new file mode 100644 index 00000000..e2bbdfa1 Binary files /dev/null and b/config/awesome/themes/default/titlebar/floating_normal_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/maximized_focus_active.png b/config/awesome/themes/default/titlebar/maximized_focus_active.png new file mode 100644 index 00000000..d7dffd75 Binary files /dev/null and b/config/awesome/themes/default/titlebar/maximized_focus_active.png differ diff --git a/config/awesome/themes/default/titlebar/maximized_focus_inactive.png b/config/awesome/themes/default/titlebar/maximized_focus_inactive.png new file mode 100644 index 00000000..844389f1 Binary files /dev/null and b/config/awesome/themes/default/titlebar/maximized_focus_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/maximized_normal_active.png b/config/awesome/themes/default/titlebar/maximized_normal_active.png new file mode 100644 index 00000000..a705f816 Binary files /dev/null and b/config/awesome/themes/default/titlebar/maximized_normal_active.png differ diff --git a/config/awesome/themes/default/titlebar/maximized_normal_inactive.png b/config/awesome/themes/default/titlebar/maximized_normal_inactive.png new file mode 100644 index 00000000..4c1ab1f9 Binary files /dev/null and b/config/awesome/themes/default/titlebar/maximized_normal_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/minimize_focus.png b/config/awesome/themes/default/titlebar/minimize_focus.png new file mode 100644 index 00000000..caaceb29 Binary files /dev/null and b/config/awesome/themes/default/titlebar/minimize_focus.png differ diff --git a/config/awesome/themes/default/titlebar/minimize_normal.png b/config/awesome/themes/default/titlebar/minimize_normal.png new file mode 100644 index 00000000..36621d0f Binary files /dev/null and b/config/awesome/themes/default/titlebar/minimize_normal.png differ diff --git a/config/awesome/themes/default/titlebar/ontop_focus_active.png b/config/awesome/themes/default/titlebar/ontop_focus_active.png new file mode 100644 index 00000000..312c00ba Binary files /dev/null and b/config/awesome/themes/default/titlebar/ontop_focus_active.png differ diff --git a/config/awesome/themes/default/titlebar/ontop_focus_inactive.png b/config/awesome/themes/default/titlebar/ontop_focus_inactive.png new file mode 100644 index 00000000..a48e1c5c Binary files /dev/null and b/config/awesome/themes/default/titlebar/ontop_focus_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/ontop_normal_active.png b/config/awesome/themes/default/titlebar/ontop_normal_active.png new file mode 100644 index 00000000..117a203c Binary files /dev/null and b/config/awesome/themes/default/titlebar/ontop_normal_active.png differ diff --git a/config/awesome/themes/default/titlebar/ontop_normal_inactive.png b/config/awesome/themes/default/titlebar/ontop_normal_inactive.png new file mode 100644 index 00000000..d3a10c8a Binary files /dev/null and b/config/awesome/themes/default/titlebar/ontop_normal_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/sticky_focus_active.png b/config/awesome/themes/default/titlebar/sticky_focus_active.png new file mode 100644 index 00000000..814499b1 Binary files /dev/null and b/config/awesome/themes/default/titlebar/sticky_focus_active.png differ diff --git a/config/awesome/themes/default/titlebar/sticky_focus_inactive.png b/config/awesome/themes/default/titlebar/sticky_focus_inactive.png new file mode 100644 index 00000000..21b000d8 Binary files /dev/null and b/config/awesome/themes/default/titlebar/sticky_focus_inactive.png differ diff --git a/config/awesome/themes/default/titlebar/sticky_normal_active.png b/config/awesome/themes/default/titlebar/sticky_normal_active.png new file mode 100644 index 00000000..bdb5595d Binary files /dev/null and b/config/awesome/themes/default/titlebar/sticky_normal_active.png differ diff --git a/config/awesome/themes/default/titlebar/sticky_normal_inactive.png b/config/awesome/themes/default/titlebar/sticky_normal_inactive.png new file mode 100644 index 00000000..a96b9b19 Binary files /dev/null and b/config/awesome/themes/default/titlebar/sticky_normal_inactive.png differ