Skip to content

linkmauve/tzompantli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tzompantli

Tzompantli is a minimal application drawer for phones running Wayland.

Demo

tmp.mp4

Polkit

Tzompantli uses logind's DBus API to poweroff/reboot the system. To allow users of the group wheel to suspend the system, the following polkit rule can be added:

/etc/polkit-1/rules.d/20-logind.rules

// Allow wheel users to poweroff.
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.poweroff" && subject.isInGroup("wheel")) {
        return "yes";
    }
});

// Allow wheel users to reboot.
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.reboot" && subject.isInGroup("wheel")) {
        return "yes";
    }
});

About

A Wayland mobile application drawer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 98.9%
  • GLSL 1.1%