diff --git a/.config/awesome/config.lua b/.config/awesome/config.lua index 8b559cd..4f007ae 100644 --- a/.config/awesome/config.lua +++ b/.config/awesome/config.lua @@ -1,3 +1,5 @@ +local config_dir = require("gears.filesystem").get_configuration_dir() + local M = {} M.keys = { @@ -19,6 +21,7 @@ M.apps.music_player = M.apps.terminal .. "--class music -e ncmpcpp" M.theme = { flavor = "macchiato", accent = "pink", + wallpaper = config_dir .. "themes/catppuccin/buttons.png", icons = {}, } diff --git a/.config/awesome/main/wallpaper.lua b/.config/awesome/main/wallpaper.lua index b69194c..c7dff3f 100644 --- a/.config/awesome/main/wallpaper.lua +++ b/.config/awesome/main/wallpaper.lua @@ -1,13 +1,14 @@ local awful = require("awful") local wibox = require("wibox") -local beautiful = require("beautiful").get() + +local image = require("config").theme.wallpaper local function set_wall(s) awful.wallpaper({ screen = s, widget = { { - image = beautiful.wallpaper, + image = image, upscale = true, downscale = true, widget = wibox.widget.imagebox, diff --git a/.config/awesome/themes/catppuccin/theme.lua b/.config/awesome/themes/catppuccin/theme.lua index 7b20901..ab39750 100644 --- a/.config/awesome/themes/catppuccin/theme.lua +++ b/.config/awesome/themes/catppuccin/theme.lua @@ -205,8 +205,6 @@ theme.titlebar_maximized_button_focus_inactive = themes_path .. "catppuccin/titl theme.titlebar_maximized_button_normal_inactive_hover = themes_path .. "catppuccin/titlebar/maximize_hover.svg" theme.titlebar_maximized_button_focus_inactive_hover = themes_path .. "catppuccin/titlebar/maximize_hover.svg" -theme.wallpaper = themes_path .. "catppuccin/buttons.png" - -- You can use your own layout icons like this: theme.layout_floating = themes_path .. "catppuccin/layouts/floating.png" theme.layout_max = themes_path .. "catppuccin/layouts/max.png"