feat(profile): update profile with dbus-send.
This commit is contained in:
parent
64c2ee5fe9
commit
0fdf514418
5 changed files with 96 additions and 219 deletions
|
|
@ -11,9 +11,8 @@ profile acpi-powerbtn flags=(attach_disconnected) {
|
|||
|
||||
/etc/acpi/powerbtn-acpi-support.sh r,
|
||||
|
||||
@{bin}/{ba,da,}sh rix,
|
||||
@{sh_path} rix,
|
||||
@{bin}/{e,}grep rix,
|
||||
@{bin}/dbus-send rix,
|
||||
@{bin}/killall5 rix,
|
||||
@{bin}/pgrep rix,
|
||||
@{bin}/pinky rix,
|
||||
|
|
@ -21,10 +20,10 @@ profile acpi-powerbtn flags=(attach_disconnected) {
|
|||
@{bin}/shutdown rix,
|
||||
/etc/acpi/powerbtn.sh rix,
|
||||
|
||||
@{bin}/systemctl rCx -> systemctl,
|
||||
@{bin}/ps rPx,
|
||||
|
||||
@{bin}/fgconsole rCx -> fgconsole,
|
||||
@{bin}/dbus-send Cx -> bus,
|
||||
@{bin}/fgconsole Cx -> fgconsole,
|
||||
@{bin}/ps Px,
|
||||
@{bin}/systemctl Cx -> systemctl,
|
||||
|
||||
/usr/share/acpi-support/** r,
|
||||
|
||||
|
|
@ -46,6 +45,13 @@ profile acpi-powerbtn flags=(attach_disconnected) {
|
|||
owner /dev/tty@{int} rw,
|
||||
}
|
||||
|
||||
profile bus flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/bus>
|
||||
|
||||
include if exists <local/acpi-powerbtn_bus>
|
||||
}
|
||||
|
||||
profile systemctl {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/systemctl>
|
||||
|
|
|
|||
|
|
@ -13,12 +13,13 @@ profile dunstctl @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/dbus-send rCx -> dbus,
|
||||
@{bin}/dbus-send Cx -> bus,
|
||||
|
||||
profile dbus {
|
||||
profile bus {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/bus>
|
||||
|
||||
@{bin}/dbus-send mr,
|
||||
include if exists <local/dunstctl_bus>
|
||||
}
|
||||
|
||||
include if exists <local/dunstctl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue