2024-01-04 06:39:52 +01:00
|
|
|
{ config, ... }: {
|
2024-01-03 14:25:06 +01:00
|
|
|
xdg.configFile."wlogout/style.css" = {
|
|
|
|
enable = true;
|
|
|
|
target = "./wlogout/style.css";
|
|
|
|
text = ''
|
|
|
|
* {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
window {
|
2024-01-04 06:39:52 +01:00
|
|
|
background-color: ${config.lib.stylix.colors.base05};
|
2024-01-03 14:25:06 +01:00
|
|
|
}
|
|
|
|
button {
|
2024-01-04 06:39:52 +01:00
|
|
|
color: ${config.lib.stylix.colors.base04};
|
2024-01-03 14:25:06 +01:00
|
|
|
font-size: 0px;
|
|
|
|
border-radius: 5000px;
|
|
|
|
margin: 25px;
|
2024-01-04 06:39:52 +01:00
|
|
|
background-color: ${config.lib.stylix.colors.base01};
|
2024-01-03 14:25:06 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 3px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:active, button:hover {
|
2024-01-04 06:39:52 +01:00
|
|
|
background-color: ${config.lib.stylix.colors.base00};
|
2024-01-03 14:25:06 +01:00
|
|
|
outline-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#lock { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/common/wlogout/lock.png"); }
|
|
|
|
#logout { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/common/wlogout/logout.png"); }
|
|
|
|
#suspend { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/common/wlogout/suspend.png"); }
|
|
|
|
#hibernate { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/common/wlogout/hibernate.png"); }
|
|
|
|
#shutdown { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/common/wlogout/shutdown.png"); }
|
|
|
|
#reboot { background-image: url("/etc/nixos/git/home-manager/common/desktops/hyprland/common/wlogout/reboot.png"); }
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|