⚰️ refactor(awesome): Remove main.apps

This commit is contained in:
punkfairie 2024-02-24 19:54:19 -08:00
parent 3f0adf7ad6
commit f594c7126c
2 changed files with 2 additions and 12 deletions

View file

@ -1,10 +0,0 @@
local apps = {
terminal = "alacritty",
launcher = "rofi -no-lazy-grab -show drun -theme ~/.config/rofi/launcher.rasi",
browser = "firefox",
file_manager = "thunar",
code_editor = "vscodium",
music_player = "alacritty --class music -e ncmpcpp",
}
return apps

View file

@ -2,7 +2,7 @@ local awful = require("awful")
local ruled = require("ruled")
local dpi = require("beautiful.xresources").apply_dpi
local helpers = require("helpers")
local apps = require("main.apps")
local config = require("config")
ruled.client.connect_signal("request::rules", function()
ruled.client.append_rule({
@ -27,7 +27,7 @@ ruled.client.connect_signal("request::rules", function()
})
ruled.client.append_rule({
rule = { class = apps["launcher"] },
rule = { class = config.apps.launcher },
properties = {
titlebars_enabled = false,
},