diff --git a/README.md b/README.md index 165671c..b89b31e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ ZaneyOS is a simple way of reproducing my configuration on any NixOS system. This includes the wallpaper, scripts, applications, config files, and more. - + + +**Inspiration for the Waybar config [here](https://github.com/justinlime/dotfiles).** diff --git a/hosts/familypc/home.nix b/hosts/familypc/home.nix index c104b8c..d5fa5cd 100644 --- a/hosts/familypc/home.nix +++ b/hosts/familypc/home.nix @@ -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;