From ebd1172cefdeaf8aec6513c1983d822580eadc8c Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 12 Nov 2023 17:04:40 +0900 Subject: Come to the light side with vertical monitor --- awesome/.config/awesome/rc.lua | 76 +++++++---- awesome/.config/awesome/themes/srcery/README.md | 8 +- .../.config/awesome/themes/tempus-fugit/README.md | 9 ++ .../awesome/themes/tempus-fugit/awesome.png | Bin 0 -> 6832 bytes .../themes/tempus-fugit/background-fullhd.png | Bin 0 -> 18602 bytes .../themes/tempus-fugit/layouts/cornerne.png | Bin 0 -> 7458 bytes .../themes/tempus-fugit/layouts/cornernw.png | Bin 0 -> 7299 bytes .../themes/tempus-fugit/layouts/cornerse.png | Bin 0 -> 7360 bytes .../themes/tempus-fugit/layouts/cornersw.png | Bin 0 -> 7417 bytes .../themes/tempus-fugit/layouts/dwindle.png | Bin 0 -> 6716 bytes .../awesome/themes/tempus-fugit/layouts/fairh.png | Bin 0 -> 7276 bytes .../awesome/themes/tempus-fugit/layouts/fairv.png | Bin 0 -> 7233 bytes .../themes/tempus-fugit/layouts/floating.png | Bin 0 -> 6497 bytes .../themes/tempus-fugit/layouts/fullscreen.png | Bin 0 -> 8232 bytes .../themes/tempus-fugit/layouts/magnifier.png | Bin 0 -> 6899 bytes .../awesome/themes/tempus-fugit/layouts/max.png | Bin 0 -> 8078 bytes .../awesome/themes/tempus-fugit/layouts/spiral.png | Bin 0 -> 6373 bytes .../awesome/themes/tempus-fugit/layouts/tile.png | Bin 0 -> 7422 bytes .../themes/tempus-fugit/layouts/tilebottom.png | Bin 0 -> 7458 bytes .../themes/tempus-fugit/layouts/tileleft.png | Bin 0 -> 7490 bytes .../themes/tempus-fugit/layouts/tiletop.png | Bin 0 -> 7472 bytes .../awesome/themes/tempus-fugit/submenu.png | Bin 0 -> 5879 bytes .../awesome/themes/tempus-fugit/taglist/square.png | Bin 0 -> 5248 bytes .../themes/tempus-fugit/taglist/squaref.png | Bin 0 -> 5159 bytes .../.config/awesome/themes/tempus-fugit/theme.lua | 151 +++++++++++++++++++++ .../awesome/themes/tempus-fugit/titlebar/close.svg | 3 + .../tempus-fugit/titlebar/floating-active.svg | 3 + .../tempus-fugit/titlebar/floating-inactive.svg | 3 + .../tempus-fugit/titlebar/maximized-active.svg | 3 + .../tempus-fugit/titlebar/maximized-inactive.svg | 3 + .../themes/tempus-fugit/titlebar/minimize.svg | 3 + .../themes/tempus-fugit/titlebar/normal.svg | 3 + .../themes/tempus-fugit/titlebar/ontop-active.svg | 3 + .../tempus-fugit/titlebar/ontop-inactive.svg | 3 + .../themes/tempus-fugit/titlebar/sticky-active.svg | 3 + .../tempus-fugit/titlebar/sticky-inactive.svg | 3 + 36 files changed, 243 insertions(+), 34 deletions(-) create mode 100644 awesome/.config/awesome/themes/tempus-fugit/README.md create mode 100644 awesome/.config/awesome/themes/tempus-fugit/awesome.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/background-fullhd.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/cornerne.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/cornernw.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/cornerse.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/cornersw.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/dwindle.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/fairh.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/fairv.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/floating.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/fullscreen.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/magnifier.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/max.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/spiral.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/tile.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/tilebottom.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/tileleft.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/layouts/tiletop.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/submenu.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/taglist/square.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/taglist/squaref.png create mode 100644 awesome/.config/awesome/themes/tempus-fugit/theme.lua create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/close.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-active.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-inactive.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-active.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-inactive.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/minimize.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/normal.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-active.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-inactive.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-active.svg create mode 100644 awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-inactive.svg diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 357a6be..52dbef0 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -1,9 +1,14 @@ +-- Standard library +local pi = math.pi + -- Awesome library local awful = require"awful" +local cairo = require"lgi".cairo local beautiful = require"beautiful" local gears = require"gears" local menubar = require"menubar" local naughty = require"naughty" +local shape = gears.shape local wibox = require"wibox" -- Awful submodules @@ -46,7 +51,7 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. -beautiful.init"~/.config/awesome/themes/srcery/theme.lua" +beautiful.init"~/.config/awesome/themes/tempus-fugit/theme.lua" -- This is used later as the default terminal and editor to run. local terminal = "urxvt" @@ -54,7 +59,7 @@ local editor = terminal .. " -e vim" -- And some additional applications local root_terminal = terminal .. " -e su -" local ranger = terminal .. " -e ranger" -local python = terminal .. " -e python" +local python = terminal .. " -e python3" local guile = terminal .. " -e guile" local calcurse = terminal .. " -e calcurse" local aerc = terminal .. " -e aerc" @@ -85,9 +90,9 @@ local modkey = "Mod4" awful.layout.layouts = { awful.layout.suit.fair, --awful.layout.suit.fair.horizontal, - --awful.layout.suit.tile, + awful.layout.suit.tile, --awful.layout.suit.tile.left, - awful.layout.suit.tile.bottom, + --awful.layout.suit.tile.bottom, --awful.layout.suit.tile.top, --awful.layout.suit.spiral, --awful.layout.suit.spiral.dwindle, @@ -312,17 +317,7 @@ local tasklist_buttons = awful.util.table.join( ) local function set_wallpaper(s) - -- Wallpaper - if beautiful.wallpaper then - local wallpaper = beautiful.wallpaper - if s.geometry.width > 2880 then - wallpaper = beautiful.wallpaper_wide - end - if type(wallpaper) == "function" then - wallpaper = wallpaper(s) - end - gears.wallpaper.maximized(wallpaper, s, true) - end + gears.wallpaper.set(beautiful.bg_normal) end local function restore() @@ -334,14 +329,34 @@ local function restore() end end +local function arrow(fg, bg) + local img = cairo.ImageSurface.create(cairo.Format.ARGB32, 14, 28) + local cr = cairo.Context(img) + cr:set_source(gears.color(bg)) + cr:rectangle(0, 0, 14, 28) + cr:fill() + cr:set_source(gears.color(fg)) + local trigon = shape.transform(shape.isosceles_triangle) + trigon:translate(0, 14):rotate_at(14, 14, pi/2)(cr, 28, 14) + cr:fill() + return img +end + -- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function (s) set_wallpaper(s) -- Each screen has its own tag table. - awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, - s, awful.layout.suit.fair) + -- Wallpaper + if s.geometry.width > s.geometry.height then + awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, + s, awful.layout.suit.fair) + else + awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, + s, awful.layout.suit.tile) + for _, t in ipairs(s.tags) do t.master_count = 0 end + end -- Create a promptbox for each screen s.mypromptbox = awful.widget.prompt{prompt = " "} @@ -383,28 +398,28 @@ awful.screen.connect_for_each_screen(function (s) bg = beautiful.red, fg = beautiful.gray, widget = wibox.container.background}, - wibox.widget.imagebox(beautiful.arrow0), + wibox.widget.imagebox(arrow(beautiful.red, beautiful.yellow)), {mycpuusage, - bg = beautiful.orange, + bg = beautiful.yellow, fg = beautiful.gray, widget = wibox.container.background}, - wibox.widget.imagebox(beautiful.arrow1), + wibox.widget.imagebox(arrow(beautiful.yellow, beautiful.green)), {mymemusage, - bg = beautiful.yellow, + bg = beautiful.green, fg = beautiful.gray, widget = wibox.container.background}, - wibox.widget.imagebox(beautiful.arrow2), - mybattery, - wibox.widget.imagebox(beautiful.arrow3), - myvolume, - wibox.widget.imagebox(beautiful.arrow4), + --wibox.widget.imagebox(arrow(beautiful.yellow, beautiful.green)), + --mybattery, + --wibox.widget.imagebox(arrow(beautiful.yellow, beautiful.cyan)), + --myvolume, + wibox.widget.imagebox(arrow(beautiful.green, beautiful.blue)), {myweather, bg = beautiful.blue, fg = beautiful.gray, widget = wibox.container.background}, - wibox.widget.imagebox(beautiful.arrow5), + wibox.widget.imagebox(arrow(beautiful.blue, beautiful.magenta)), myplayer, - wibox.widget.imagebox(beautiful.arrow6), + wibox.widget.imagebox(arrow(beautiful.magenta, beautiful.bg_normal)), s.mypromptbox }, {-- Middle widget @@ -869,14 +884,15 @@ client.connect_signal( awful.client.focus.filter(c) then client.focus = c end - end -) + end) client.connect_signal("focus", function (c) c.border_color = beautiful.border_focus end) client.connect_signal("unfocus", function (c) c.border_color = beautiful.border_normal end) +gears.timer{timeout = 67, autostart = true, callback = spawner"mbsync --all"} + -- Show titlebar if client is floating, hide otherwise. --tag.connect_signal( -- "property::layout", diff --git a/awesome/.config/awesome/themes/srcery/README.md b/awesome/.config/awesome/themes/srcery/README.md index 3867a1c..4cb8e07 100644 --- a/awesome/.config/awesome/themes/srcery/README.md +++ b/awesome/.config/awesome/themes/srcery/README.md @@ -1,12 +1,12 @@ -# srcery awesome theme by McSinyx +# srcery awesome theme by cnx ## A few side notes * First 9 colors in srcery palette along with orange -* are exposed for convenient theming. + are exposed for convenient theming. * The backgrounds are pixel-based, for best result please resize them using a - proper algorithim, e.g. in GIMP use *None* interpolation. + proper algorithm, e.g. in GIMP use *None* interpolation. * Titlebar and wibox use some pixel arts, -* so please keep theme at the size of 28px. + so please keep theme at the size of 28px. * I added some 28-pixel high arrows to the theme. One might wanna use them to rice your desktop in the *powerarrow* way. diff --git a/awesome/.config/awesome/themes/tempus-fugit/README.md b/awesome/.config/awesome/themes/tempus-fugit/README.md new file mode 100644 index 0000000..82f4d34 --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/README.md @@ -0,0 +1,9 @@ +# tempus fugit awesome theme by cnx + +## A few side notes + +* First 9 colors in srcery palette along with orange + are exposed for convenient theming. +* The backgrounds are pixel-based, for best result please resize them using a + proper algorithim, e.g. in GIMP use *None* interpolation. +* Tags and layouts on wibox are pixel arts, so keep theme at the size 28 px. diff --git a/awesome/.config/awesome/themes/tempus-fugit/awesome.png b/awesome/.config/awesome/themes/tempus-fugit/awesome.png new file mode 100644 index 0000000..b3981f1 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/awesome.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/background-fullhd.png b/awesome/.config/awesome/themes/tempus-fugit/background-fullhd.png new file mode 100644 index 0000000..0537ddc Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/background-fullhd.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/cornerne.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornerne.png new file mode 100644 index 0000000..54b880f Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornerne.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/cornernw.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornernw.png new file mode 100644 index 0000000..0f748c7 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornernw.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/cornerse.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornerse.png new file mode 100644 index 0000000..2f64fba Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornerse.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/cornersw.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornersw.png new file mode 100644 index 0000000..a363e38 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/cornersw.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/dwindle.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/dwindle.png new file mode 100644 index 0000000..a636b80 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/dwindle.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/fairh.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/fairh.png new file mode 100644 index 0000000..615e5f8 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/fairh.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/fairv.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/fairv.png new file mode 100644 index 0000000..f705817 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/fairv.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/floating.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/floating.png new file mode 100644 index 0000000..3ed3d1c Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/floating.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/fullscreen.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/fullscreen.png new file mode 100644 index 0000000..d0b3050 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/fullscreen.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/magnifier.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/magnifier.png new file mode 100644 index 0000000..aebbbca Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/magnifier.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/max.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/max.png new file mode 100644 index 0000000..5051aeb Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/max.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/spiral.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/spiral.png new file mode 100644 index 0000000..31e8d7d Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/spiral.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/tile.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/tile.png new file mode 100644 index 0000000..a00efbe Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/tile.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/tilebottom.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/tilebottom.png new file mode 100644 index 0000000..e57a5c7 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/tilebottom.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/tileleft.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/tileleft.png new file mode 100644 index 0000000..0eb153f Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/tileleft.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/layouts/tiletop.png b/awesome/.config/awesome/themes/tempus-fugit/layouts/tiletop.png new file mode 100644 index 0000000..f001ec1 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/layouts/tiletop.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/submenu.png b/awesome/.config/awesome/themes/tempus-fugit/submenu.png new file mode 100644 index 0000000..ed1429b Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/submenu.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/taglist/square.png b/awesome/.config/awesome/themes/tempus-fugit/taglist/square.png new file mode 100644 index 0000000..bafc155 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/taglist/square.png differ diff --git a/awesome/.config/awesome/themes/tempus-fugit/taglist/squaref.png b/awesome/.config/awesome/themes/tempus-fugit/taglist/squaref.png new file mode 100644 index 0000000..08fe492 Binary files /dev/null and b/awesome/.config/awesome/themes/tempus-fugit/taglist/squaref.png differ 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 . + +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 diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/close.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/close.svg new file mode 100644 index 0000000..e3a902c --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/close.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-active.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-active.svg new file mode 100644 index 0000000..f1298de --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-active.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-inactive.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-inactive.svg new file mode 100644 index 0000000..3e05f5d --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/floating-inactive.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-active.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-active.svg new file mode 100644 index 0000000..adc022a --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-active.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-inactive.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-inactive.svg new file mode 100644 index 0000000..9068511 --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/maximized-inactive.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/minimize.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/minimize.svg new file mode 100644 index 0000000..39d4371 --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/minimize.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/normal.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/normal.svg new file mode 100644 index 0000000..779470d --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/normal.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-active.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-active.svg new file mode 100644 index 0000000..9b44108 --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-active.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-inactive.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-inactive.svg new file mode 100644 index 0000000..c79b826 --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/ontop-inactive.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-active.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-active.svg new file mode 100644 index 0000000..523411d --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-active.svg @@ -0,0 +1,3 @@ + + + diff --git a/awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-inactive.svg b/awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-inactive.svg new file mode 100644 index 0000000..bb7c837 --- /dev/null +++ b/awesome/.config/awesome/themes/tempus-fugit/titlebar/sticky-inactive.svg @@ -0,0 +1,3 @@ + + + -- cgit 1.4.1