From f0b32f45746c026d402651013b7e98315d6956a1 Mon Sep 17 00:00:00 2001 From: delta Date: Sat, 4 Mar 2023 22:04:55 +0100 Subject: restructure awesome config, add fresnel --- .config/awesome/components/signals/rules.lua | 102 --------------------------- 1 file changed, 102 deletions(-) delete mode 100644 .config/awesome/components/signals/rules.lua (limited to '.config/awesome/components/signals/rules.lua') diff --git a/.config/awesome/components/signals/rules.lua b/.config/awesome/components/signals/rules.lua deleted file mode 100644 index 65db501..0000000 --- a/.config/awesome/components/signals/rules.lua +++ /dev/null @@ -1,102 +0,0 @@ -local ruled = require "ruled" -local beautiful = require "beautiful" -local awful = require "awful" -local vars = require "themes.prismite.vars" - -ruled.client.connect_signal("request::rules", function() - ruled.client.append_rule({ - id = "global", - rule = {}, - properties = { - border_width = beautiful.border_width, - border_color = beautiful.border_normal, - focus = awful.client.focus.filter, - raise = true, - screen = awful.screen.preferred, - placement = awful.placement.centered+awful.placement.no_offscreen, - floating = false, - shape = vars.shape, - honor_padding = true - -- tag = "1" - } - }) - - ruled.client.append_rule({ - id = "titlebars", - rule_any = { - type = { - "normal", - "dialog" - } - }, - properties = { - titlebars_enabled = true - } - }) - - ruled.client.append_rule({ - id = "steam", - rule_any = { - class = { "Steam" } - }, - properties = { - screen = 1, - tag = screen[1].tags[6] - } - }) - - ruled.client.append_rule({ - id = "browser_tag", - rule_any = { - class = { "firefox" } - }, - properties = { - screen = 1, - tag = screen[1].tags[2] - } - }) - - ruled.client.append_rule({ - id = "chat_tag", - rule_any = { - class = { "discord" } - }, - properties = { - screen = 1, - tag = screen[1].tags[3] - } - }) - - - ruled.client.append_rule({ - id = "music_tag", - rule_any = { - class = { "Spotify" } - }, - properties = { - screen = 1, - tag = screen[1].tags[4] - } - }) - - ruled.client.append_rule({ - id = "code_tag", - rule_any = { - class = { "lite-xl", "code_kitty" } - }, - properties = { - screen = 1, - tag = screen[1].tags[5] - } - }) - - ruled.client.append_rule({ - id = "pip", - rule = { - name = "Picture-in-Picture" - }, - properties = { - ontop = true - } - }) -end) -- cgit v1.2.3