Theme hyprlock and setup the hypridle home service

This commit is contained in:
Tyler Kelley 2024-05-19 11:13:21 -05:00
parent f509aa41f4
commit b3fe46772c
2 changed files with 31 additions and 4 deletions

View File

@ -6,6 +6,8 @@ ZaneyOS is a simple way of reproducing my configuration on any NixOS system. Thi
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/config/demo.png" />
**Inspiration for the Waybar config [here](https://github.com/justinlime/dotfiles).**
</div>
> **This project has a [Wiki](https://zaney.org/zaneyos/). Find out how to use ZaneyOS here!**

View File

@ -183,6 +183,29 @@ in
})
];
services = {
hypridle = {
settings = {
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
};
listener = [
{
timeout = 900;
on-timeout = "hyprlock";
}
{
timeout = 1200;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
];
};
};
};
programs = {
gh.enable = true;
neovim = {
@ -431,6 +454,8 @@ in
{
path = "/home/${username}/.config/face.jpg";
size = 150;
border_size = 4;
border_color = "rgb(${palette.base08})";
rounding = -1; # Negative means circle
position = "0, 200";
halign = "center";
@ -444,9 +469,9 @@ in
monitor = "";
dots_center = true;
fade_on_empty = false;
font_color = "rgb(202, 211, 245)";
inner_color = "rgb(91, 96, 120)";
outer_color = "rgb(24, 25, 38)";
font_color = "rgb(${palette.base05})";
inner_color = "rgb(${palette.base01})";
outer_color = "rgb(${palette.base00})";
outline_thickness = 5;
placeholder_text = "Password...";
shadow_passes = 2;