⚰️ refactor(awesome): Remove main.apps
This commit is contained in:
parent
3f0adf7ad6
commit
f594c7126c
2 changed files with 2 additions and 12 deletions
|
@ -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
|
|
|
@ -2,7 +2,7 @@ local awful = require("awful")
|
||||||
local ruled = require("ruled")
|
local ruled = require("ruled")
|
||||||
local dpi = require("beautiful.xresources").apply_dpi
|
local dpi = require("beautiful.xresources").apply_dpi
|
||||||
local helpers = require("helpers")
|
local helpers = require("helpers")
|
||||||
local apps = require("main.apps")
|
local config = require("config")
|
||||||
|
|
||||||
ruled.client.connect_signal("request::rules", function()
|
ruled.client.connect_signal("request::rules", function()
|
||||||
ruled.client.append_rule({
|
ruled.client.append_rule({
|
||||||
|
@ -27,7 +27,7 @@ ruled.client.connect_signal("request::rules", function()
|
||||||
})
|
})
|
||||||
|
|
||||||
ruled.client.append_rule({
|
ruled.client.append_rule({
|
||||||
rule = { class = apps["launcher"] },
|
rule = { class = config.apps.launcher },
|
||||||
properties = {
|
properties = {
|
||||||
titlebars_enabled = false,
|
titlebars_enabled = false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue