diff --git a/config/awesome/decorations/themes/amarena.lua b/config/awesome/decorations/themes/amarena.lua deleted file mode 100644 index 8831f70..0000000 --- a/config/awesome/decorations/themes/amarena.lua +++ /dev/null @@ -1,44 +0,0 @@ -local gears = require("gears") -local awful = require("awful") -local wibox = require("wibox") -local beautiful = require("beautiful") -local helpers = require("helpers") -local keys = require("keys") -local decorations = require("decorations") - --- This decoration theme will round clients according to your theme's --- border_radius value --- Disable this if using `picom` to round your corners -decorations.enable_rounding() - --- Button configuration -local gen_button_size = dpi(10) -local gen_button_shape = gears.shape.circle --- local gen_button_shape = helpers.rrect(dpi(4)) -local gen_button_margin = dpi(4) - --- Add a titlebar -client.connect_signal("request::titlebars", function(c) - awful.titlebar(c, {font = beautiful.titlebar_font, position = beautiful.titlebar_position, size = beautiful.titlebar_size}) : setup { - nil, - { - buttons = keys.titlebar_buttons, - font = beautiful.titlebar_font, - align = beautiful.titlebar_title_align or "center", - widget = beautiful.titlebar_title_enabled and awful.titlebar.widget.titlewidget(c) or wibox.widget.textbox("") - }, - { - -- Generated buttons - decorations.button(c, gen_button_shape, x.color3, x.color3.."55", x.color11, gen_button_size, gen_button_margin, "minimize"), - decorations.button(c, gen_button_shape, x.color4, x.color4.."55", x.color12, gen_button_size, gen_button_margin, "maximize"), - decorations.button(c, gen_button_shape, x.color1, x.color1.."55", x.color9, gen_button_size, gen_button_margin, "close"), - -- decorations.text_button(c, "", "Material Icons 9", x.color1, gen_button_color_unfocused, x.color9, gen_button_size, gen_button_margin, "close"), - - -- Create some extra padding at the edge - helpers.horizontal_pad(dpi(6)), - - layout = wibox.layout.fixed.horizontal - }, - layout = wibox.layout.align.horizontal - } -end) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 58b7bbb..10a1856 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -26,9 +26,8 @@ local decoration_themes = { "lovelace", -- 1 -- Standard titlebar with 3 buttons (close, max, min) "skyfall", -- 2 -- No buttons, only title "ephemeral", -- 3 -- Text-generated titlebar buttons - "amarena", -- 4 -- Text-generated titlebar buttons } -local decoration_theme = decoration_themes[4] +local decoration_theme = decoration_themes[3] -- =================================================================== -- Statusbar themes. Multiple bars can be declared in each theme. local bar_themes = {