From a7e1c34539f54bd52cf6ce9ce1a5239e70c2f04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 5 Jun 2023 16:56:01 +0200 Subject: [PATCH] Reorder beautiful loading --- awesome/rc.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index cf4e55e..11eee34 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -1,11 +1,15 @@ -- Standard awesome libraries local gears = require("gears") local awful = require("awful") +local beautiful = require("beautiful") -- Local imports local grid = require("components.layout.grid") +-- Import theme +beautiful.init(gears.filesystem.get_configuration_dir() .. "theme.lua") + -- Load components require("components.notifications") require("components.screen") @@ -51,10 +55,6 @@ for _, app in ipairs(run_on_start_up) do awful.spawn.with_shell(string.format("echo 'pgrep -u $USER -x %s > /dev/null || (%s)' | bash -", findme, app), false) end --- Import theme -local beautiful = require("beautiful") -beautiful.init(gears.filesystem.get_configuration_dir() .. "theme.lua") - -- Import Keybinds local keys = require("keys") root.keys(keys.globalkeys)