feat(profile): rewrite all xdg script profiles.
This commit is contained in:
parent
35b305f043
commit
896254c2ec
9 changed files with 255 additions and 223 deletions
|
|
@ -8,38 +8,49 @@ abi <abi/4.0>,
|
|||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/xdg-screensaver
|
||||
profile xdg-screensaver @{exec_path} {
|
||||
profile xdg-screensaver @{exec_path} flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/freedesktop.org>
|
||||
|
||||
@{exec_path} r,
|
||||
|
||||
@{bin}/ r,
|
||||
@{sh_path} rix,
|
||||
@{bin}/{,e}grep ix,
|
||||
@{bin}/{m,g,}awk ix,
|
||||
@{bin}/basename ix,
|
||||
@{bin}/cat ix,
|
||||
@{bin}/cut ix,
|
||||
@{bin}/dirname ix,
|
||||
@{bin}/kill ix,
|
||||
@{bin}/ln ix,
|
||||
@{bin}/lockfile ix,
|
||||
@{bin}/mktemp ix,
|
||||
@{bin}/mv ix,
|
||||
@{bin}/perl ix,
|
||||
@{bin}/readlink ix,
|
||||
@{bin}/realpath ix,
|
||||
@{bin}/rm ix,
|
||||
@{bin}/sed ix,
|
||||
@{bin}/uname ix,
|
||||
@{bin}/xautolock ix,
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/mv rix,
|
||||
@{bin}/{,e}grep rix,
|
||||
@{bin}/sed rix,
|
||||
@{bin}/which{,.debianutils} rix,
|
||||
@{bin}/cat rix,
|
||||
@{bin}/uname rix,
|
||||
@{bin}/dbus-send Cx -> bus,
|
||||
@{bin}/xprop Px,
|
||||
@{bin}/xset Px,
|
||||
@{bin}/ps Px,
|
||||
@{bin}/hostname Px,
|
||||
|
||||
@{bin}/xautolock rix,
|
||||
@{bin}/dbus-send rix,
|
||||
profile bus flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/bus>
|
||||
include <abstractions/bus-session>
|
||||
|
||||
@{bin}/xprop rPx,
|
||||
@{bin}/xdg-mime rPx,
|
||||
@{bin}/xset rPx,
|
||||
@{bin}/hostname rix,
|
||||
#aa:dbus talk bus=session name=org.freedesktop.ScreenSaver label=gsd-screensaver-proxy
|
||||
#aa:dbus talk bus=session name=org.gnome.ScreenSaver label=gjs-console
|
||||
|
||||
owner @{HOME}/ r,
|
||||
owner @{HOME}/.Xauthority r,
|
||||
owner @{tmp}/xauth-@{int}-_[0-9] r,
|
||||
|
||||
owner @{run}/user/@{uid}/ r,
|
||||
|
||||
/dev/dri/card@{int} rw,
|
||||
include if exists <local/xdg-screensaver_bus>
|
||||
}
|
||||
|
||||
include if exists <local/xdg-screensaver>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue