Keyd : Add system poweroff.
This commit is contained in:
parent
220c064fa5
commit
28342f0cb1
|
@ -47,7 +47,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# NOTE: Allow user access.
|
||||
# HACK: Allow user access.
|
||||
tmpfiles.rules = [
|
||||
"z ${controlFileMax} 0777 - - - -"
|
||||
"z ${controlFileMin} 0777 - - - -"
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
layer_system = {
|
||||
p = "command(powersave toggle)";
|
||||
l = "command(powerlimit toggle)";
|
||||
z = "command(systemctl poweroff -i)";
|
||||
};
|
||||
|
||||
layer_macro = {};
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
# NOTE: Allow user access.
|
||||
# HACK: Allow user access.
|
||||
tmpfiles.rules = [ "z ${controlFile} 0777 - - - -" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue