Using new ruled.client for rules
This commit is contained in:
parent
53fdeb8db0
commit
4aa3a43819
2 changed files with 16 additions and 20 deletions
|
@ -6,21 +6,17 @@
|
|||
(local dpi xresources.apply_dpi)
|
||||
(local ruled (require "ruled"))
|
||||
|
||||
(local rules)
|
||||
(ruled.notification.connect_signal "request::rules" (ruled.notification.append_rules
|
||||
[
|
||||
;; All notifications match this rule
|
||||
{
|
||||
:rule { }
|
||||
:propertites {
|
||||
:border-width beautiful.border_width
|
||||
:border_color beautiful.border_normal
|
||||
:opacity 0.7
|
||||
:shape gears.shape.rounded_rect
|
||||
}
|
||||
}
|
||||
]))
|
||||
|
||||
|
||||
(local rules [
|
||||
;; All notifications match this rule
|
||||
{
|
||||
:rule { }
|
||||
:propertites {
|
||||
:border-width beautiful.border_width
|
||||
:border_color beautiful.border_normal
|
||||
:opacity 0.7
|
||||
:shape gears.shape.rounded_rect
|
||||
}
|
||||
}
|
||||
])
|
||||
|
||||
rules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue