diff options
Diffstat (limited to 'awesome/.config/awesome/themes/tempus-fugit/theme.lua')
-rw-r--r-- | awesome/.config/awesome/themes/tempus-fugit/theme.lua | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/awesome/.config/awesome/themes/tempus-fugit/theme.lua b/awesome/.config/awesome/themes/tempus-fugit/theme.lua new file mode 100644 index 0000000..e3c13ea --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/theme.lua @@ -0,0 +1,151 @@ +-- Tempus fugit awesome theme +-- Copyright (C) 2023 Nguyễn Gia Phong +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see <http://www.gnu.org/licenses/>. + +local gears = require'gears' + +local theme = {} +-- Working directory (where you place this theme) +local wd = '~/.config/awesome/themes/tempus-fugit/' +local function abspath(relative) return wd .. relative end + +theme.font = 'Latin Modern Mono 15' +theme.hotkeys_font = 'Latin Modern Mono Bold 15' +theme.hotkeys_description_font = theme.font + +-- Auxiliary colors +theme.black = '#fff5f3' +theme.gray = '#efe6e4' +theme.red = '#c61a14' +theme.orange = '#af390a' +theme.yellow = '#985900' +theme.green = '#437520' +theme.cyan = '#00756a' +theme.blue = '#485adf' +theme.magenta = '#a234c0' +theme.grey = '#796271' +theme.white = '#4d595f' + +theme.bg_normal = theme.black +theme.bg_focus = theme.gray +theme.bg_urgent = theme.bg_normal +theme.bg_minimize = theme.bg_focus +theme.bg_systray = theme.bg_normal +theme.hotkeys_bg = theme.bg_normal + +theme.fg_normal = theme.white +theme.fg_focus = theme.fg_normal +theme.fg_urgent = theme.grey +theme.fg_minimize = theme.fg_normal +theme.hotkeys_fg = theme.fg_normal + +theme.useless_gap = 0 +theme.border_width = 2 +theme.border_normal = theme.gray +theme.border_focus = theme.orange +theme.border_marked = theme.red + +theme.hotkeys_border_color = theme.border_focus +theme.hotkeys_border_width = theme.border_width +theme.hotkeys_modifiers_fg = theme.fg_urgent + +-- There are other variable sets +-- overriding the default one when +-- defined, the sets are: +-- taglist_[bg|fg]_[focus|urgent|occupied|empty] +-- 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] +theme.titlebar_bg_focus = theme.bg_normal +theme.titlebar_fg_normal = theme.grey + +-- Display the taglist squares +theme.taglist_squares_sel = abspath'taglist/squaref.png' +theme.taglist_squares_unsel = abspath'taglist/square.png' + +-- Variables set for theming the menu: +-- menu_[bg|fg]_[normal|focus] +-- menu_[border_color|border_width] +theme.menu_submenu_icon = abspath'submenu.png' +theme.menu_height = 28 +theme.menu_width = 210 + +-- 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 +local function titlebar(button) + return abspath('titlebar/' .. button .. '.svg') +end +theme.titlebar_close_button_normal = titlebar'normal' +theme.titlebar_close_button_focus = titlebar'close' + +theme.titlebar_minimize_button_normal = titlebar'normal' +theme.titlebar_minimize_button_focus = titlebar'minimize' + +theme.titlebar_ontop_button_normal_inactive = titlebar'normal' +theme.titlebar_ontop_button_focus_inactive = titlebar'ontop-inactive' +theme.titlebar_ontop_button_normal_active = titlebar'normal' +theme.titlebar_ontop_button_focus_active = titlebar'ontop-active' + +theme.titlebar_sticky_button_normal_inactive = titlebar'normal' +theme.titlebar_sticky_button_focus_inactive = titlebar'sticky-inactive' +theme.titlebar_sticky_button_normal_active = titlebar'normal' +theme.titlebar_sticky_button_focus_active = titlebar'sticky-active' + +theme.titlebar_floating_button_normal_inactive = titlebar'normal' +theme.titlebar_floating_button_focus_inactive = titlebar'floating-inactive' +theme.titlebar_floating_button_normal_active = titlebar'normal' +theme.titlebar_floating_button_focus_active = titlebar'floating-active' + +theme.titlebar_maximized_button_normal_inactive = titlebar'normal' +theme.titlebar_maximized_button_focus_inactive = titlebar'maximized-inactive' +theme.titlebar_maximized_button_normal_active = titlebar'normal' +theme.titlebar_maximized_button_focus_active = titlebar'maximized-active' + +--theme.wallpaper = abspath'background-fullhd.png' +--theme.wallpaper_wide = abspath'background-wide.png' + +-- You can use your own layout icons like this: +local function layout(icon) + return abspath('layouts/' .. icon .. '.png') +end +theme.layout_fairh = layout'fairh' +theme.layout_fairv = layout'fairv' +theme.layout_floating = layout'floating' +theme.layout_magnifier = layout'magnifier' +theme.layout_max = layout'max' +theme.layout_fullscreen = layout'fullscreen' +theme.layout_tilebottom = layout'tilebottom' +theme.layout_tileleft = layout'tileleft' +theme.layout_tile = layout'tile' +theme.layout_tiletop = layout'tiletop' +theme.layout_spiral = layout'spiral' +theme.layout_dwindle = layout'dwindle' +theme.layout_cornernw = layout'cornernw' +theme.layout_cornerne = layout'cornerne' +theme.layout_cornersw = layout'cornersw' +theme.layout_cornerse = layout'cornerse' + +theme.awesome_icon = abspath'awesome.png' + +-- 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 |