mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:43:55 -05:00
wlogout: read username from home-manager config
This commit is contained in:
parent
c1af68a79e
commit
70ba953b43
|
@ -12,7 +12,7 @@
|
||||||
layout = [
|
layout = [
|
||||||
{
|
{
|
||||||
label = "logout";
|
label = "logout";
|
||||||
action = "${pkgs.systemd}/bin/loginctl terminate-user $USER";
|
action = "${pkgs.systemd}/bin/loginctl terminate-user ${config.home.username}";
|
||||||
text = "Logout";
|
text = "Logout";
|
||||||
keybind = "e";
|
keybind = "e";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue