mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-25 16:13:09 +01:00
Theme hyprlock and setup the hypridle home service
This commit is contained in:
parent
f509aa41f4
commit
b3fe46772c
@ -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!**
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user