diff options
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/rc.lua | 35 | ||||
-rw-r--r-- | .config/awesome/themes/default/theme.lua | 2 |
2 files changed, 20 insertions, 17 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 739bf81..9f331a9 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -149,7 +149,7 @@ local tasklist_buttons = gears.table.join( local function set_wallpaper(s) -- Wallpaper if beautiful.wallpaper then - local wallpaper = "/home/zt/Media/Waifu/Tohru.png" -- beautiful.wallpaper + local wallpaper = beautiful.wallpaper -- If wallpaper is a function, call it with the screen if type(wallpaper) == "function" then wallpaper = wallpaper(s) @@ -573,28 +573,31 @@ client.connect_signal("request::titlebars", function(c) ) awful.titlebar(c) : setup { + layout = wibox.layout.align.horizontal(), { -- Left - awful.titlebar.widget.iconwidget(c), - buttons = buttons, - layout = wibox.layout.fixed.horizontal + awful.titlebar.widget.closebutton (c), + awful.titlebar.widget.maximizedbutton(c), + awful.titlebar.widget.ontopbutton (c), + awful.titlebar.widget.floatingbutton (c), + awful.titlebar.widget.stickybutton (c), + layout = wibox.layout.fixed.horizontal() }, { -- Middle - { -- Title - align = "center", - widget = awful.titlebar.widget.titlewidget(c) - }, + --{ -- Title + -- align = "center", + -- widget = awful.titlebar.widget.titlewidget(c) + --}, buttons = buttons, layout = wibox.layout.flex.horizontal }, { -- Right - awful.titlebar.widget.floatingbutton (c), - awful.titlebar.widget.maximizedbutton(c), - awful.titlebar.widget.stickybutton (c), - awful.titlebar.widget.ontopbutton (c), - awful.titlebar.widget.closebutton (c), - layout = wibox.layout.fixed.horizontal() - }, - layout = wibox.layout.align.horizontal + { -- Title + widget = awful.titlebar.widget.titlewidget(c) + }, + awful.titlebar.widget.iconwidget(c), + buttons = buttons, + layout = wibox.layout.fixed.horizontal() + } } end) diff --git a/.config/awesome/themes/default/theme.lua b/.config/awesome/themes/default/theme.lua index de7464e..b5fb9e9 100644 --- a/.config/awesome/themes/default/theme.lua +++ b/.config/awesome/themes/default/theme.lua @@ -109,7 +109,7 @@ theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar 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" -theme.wallpaper = themes_path.."default/background.png" +theme.wallpaper = themes_path.."../../../wallpaper" -- You can use your own layout icons like this: theme.layout_fairh = themes_path.."default/layouts/fairhw.png" |