wlogout: read username from home-manager config

This commit is contained in:
Aly Raffauf 2024-04-22 15:37:22 -04:00
parent c1af68a79e
commit 70ba953b43

View file

@ -12,7 +12,7 @@
layout = [
{
label = "logout";
action = "${pkgs.systemd}/bin/loginctl terminate-user $USER";
action = "${pkgs.systemd}/bin/loginctl terminate-user ${config.home.username}";
text = "Logout";
keybind = "e";
}