mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 08:33:55 -05:00
wlogout: new theme
This commit is contained in:
parent
a578e6b5c1
commit
7654e4069c
|
@ -13,22 +13,77 @@
|
|||
{
|
||||
label = "logout";
|
||||
action = ''${lib.getExe' pkgs.systemd "loginctl"} terminate-user ${config.home.username}'';
|
||||
text = "Logout";
|
||||
text = "logout (e)";
|
||||
keybind = "e";
|
||||
}
|
||||
{
|
||||
label = "shutdown";
|
||||
action = ''${lib.getExe' pkgs.systemd "systemctl"} poweroff'';
|
||||
text = "Shutdown";
|
||||
text = "shutdown (s)";
|
||||
keybind = "s";
|
||||
}
|
||||
{
|
||||
label = "reboot";
|
||||
action = ''${lib.getExe' pkgs.systemd "systemctl"} reboot'';
|
||||
text = "Reboot";
|
||||
text = "reboot (r)";
|
||||
keybind = "r";
|
||||
}
|
||||
];
|
||||
style = ''
|
||||
* {
|
||||
font-family: "${config.alyraffauf.desktop.theme.font.name}", sans-serif;
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
transition: 20ms;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: rgba(12, 12, 12, 0.0);
|
||||
}
|
||||
|
||||
button {
|
||||
text-decoration-color: #FAFAFA;
|
||||
color: #FAFAFA;
|
||||
background-color: ${config.alyraffauf.desktop.theme.colors.background};
|
||||
background-color: rgba(12, 12, 12, 0.0);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 10%;
|
||||
border-radius: 10;
|
||||
}
|
||||
|
||||
button:active, button:hover {
|
||||
background-color: ${config.alyraffauf.desktop.theme.colors.primary};
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
#lock, #logout, #suspend, #hibernate, #shutdown, #reboot {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#lock {
|
||||
background-image: image(url("${config.programs.wlogout.package}/share/wlogout/icons/lock.png"), url("/usr/local/share/wlogout/icons/lock.png"));
|
||||
}
|
||||
|
||||
#logout {
|
||||
background-image: image(url("${config.programs.wlogout.package}/share/wlogout/icons/logout.png"), url("/usr/local/share/wlogout/icons/logout.png"));
|
||||
}
|
||||
|
||||
#suspend {
|
||||
background-image: image(url("${config.programs.wlogout.package}/share/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
|
||||
}
|
||||
|
||||
#hibernate {
|
||||
background-image: image(url("${config.programs.wlogout.package}/share/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
|
||||
}
|
||||
|
||||
#shutdown {
|
||||
background-image: image(url("${config.programs.wlogout.package}/share/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
|
||||
}
|
||||
|
||||
#reboot {
|
||||
background-image: image(url("${config.programs.wlogout.package}/share/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue