From 782806b1f5ecc8355afef7702f10fd16188530c7 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Mon, 2 Dec 2024 01:18:57 +0100 Subject: [PATCH] fix(configuration): ruled needs array tables --- src/awesomerc/configuration/rules/client/init.lua | 12 ++++++------ .../configuration/rules/notification/init.lua | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/awesomerc/configuration/rules/client/init.lua b/src/awesomerc/configuration/rules/client/init.lua index eb81f5f..6fa4b03 100644 --- a/src/awesomerc/configuration/rules/client/init.lua +++ b/src/awesomerc/configuration/rules/client/init.lua @@ -1,8 +1,8 @@ -local client_rules = {} - -client_rules.global = require "awesomerc.configuration.rules.client.global" -client_rules.floating = require "awesomerc.configuration.rules.client.floating" -client_rules.titlebar = require "awesomerc.configuration.rules.client.titlebars" --- client_rules.firefox = require 'awesomerc.configuration.rules.client.firefox' +local client_rules = { + require "awesomerc.configuration.rules.client.global", + require "awesomerc.configuration.rules.client.floating", + require "awesomerc.configuration.rules.client.titlebars", + -- client_rules.firefox = require 'awesomerc.configuration.rules.client.firefox' +} return client_rules diff --git a/src/awesomerc/configuration/rules/notification/init.lua b/src/awesomerc/configuration/rules/notification/init.lua index b31518c..204eb04 100644 --- a/src/awesomerc/configuration/rules/notification/init.lua +++ b/src/awesomerc/configuration/rules/notification/init.lua @@ -1,5 +1,5 @@ -local notification_rules = {} - -notification_rules.global = require "awesomerc.configuration.rules.notification.global" +local notification_rules = { + require "awesomerc.configuration.rules.notification.global", +} return notification_rules