Sway : Extra notes for keyd issue.
This commit is contained in:
parent
702e57dba3
commit
0ac1617f7f
|
@ -16,7 +16,7 @@ in {
|
|||
];
|
||||
|
||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||
systemd.services.keyd.path = [ script ];
|
||||
systemd.services.keyd.path = [ script pkgs.sway ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome.adwaita-icon-theme # GTK icons.
|
||||
grim slurp # Screenshot.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
environment.systemPackages = with pkgs; [ keyd ];
|
||||
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards.default = {
|
||||
|
@ -45,11 +46,12 @@
|
|||
};
|
||||
|
||||
layer_system = {
|
||||
f = "command(swayscript montoggle)";
|
||||
c = "command(loginctl kill-user voronind)";
|
||||
l = "command(powerlimit toggle)";
|
||||
# m = "command(swayscript montoggle)";
|
||||
m = "command(swayscript montoggle)";
|
||||
p = "command(powersave toggle)";
|
||||
# v = "command(swayscript vrrtoggle)";
|
||||
v = "command(swayscript vrrtoggle)";
|
||||
x = "command(systemctl poweroff -i)";
|
||||
z = "command(systemctl suspend -i)";
|
||||
};
|
||||
|
@ -65,6 +67,6 @@
|
|||
|
||||
# HACK: Workaround for powersave/powerlimit/swayscript scripts.
|
||||
systemd.services.keyd.serviceConfig.ProtectKernelTunables = lib.mkForce false;
|
||||
systemd.services.keyd.serviceConfig.ProtectHome = lib.mkForce false;
|
||||
# systemd.services.keyd.serviceConfig.ProtectHome = lib.mkForce false;
|
||||
# systemd.services.keyd.environment.KEYD_DEBUG = "1";
|
||||
}
|
||||
|
|
|
@ -10,10 +10,6 @@
|
|||
for socket in $(_sway_find_sockets); do
|
||||
SWAYSOCK="''${socket}" ''${1}
|
||||
done
|
||||
|
||||
echo FUCKME | systemd-cat
|
||||
ls /run/user/ | systemd-cat
|
||||
ls /run/user/1000 | systemd-cat
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue