remove hypr nix
This commit is contained in:
parent
5747573a94
commit
55f2ca393b
3 changed files with 0 additions and 87 deletions
|
|
@ -1,39 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
services.hypridle = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
lock_cmd = "pidof hyprlock || hyprlock";
|
|
||||||
before_sleep_cmd = "loginctl lock-session";
|
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
|
||||||
};
|
|
||||||
listener = [
|
|
||||||
{
|
|
||||||
timeout = 150; # 2.5min.
|
|
||||||
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
|
||||||
on-resume = "brightnessctl -r"; # monitor backlight restore.
|
|
||||||
}
|
|
||||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
|
||||||
{
|
|
||||||
timeout = 150; # 2.5min.
|
|
||||||
on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight.
|
|
||||||
on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight.
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 300; # 5min
|
|
||||||
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 330; # 5.5min
|
|
||||||
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
|
|
||||||
on-resume = "hyprctl dispatch dpms on"; # screen on when activity is detected after timeout has fired.
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 1800; # 30min
|
|
||||||
on-timeout = "systemctl suspend"; # suspend pc
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
{ lib, ... }:
|
|
||||||
let
|
|
||||||
configs = [
|
|
||||||
./config/input.nix
|
|
||||||
./config/keybinds.nix
|
|
||||||
./config/look.nix
|
|
||||||
./config/nvidia.nix
|
|
||||||
./config/rules.nix
|
|
||||||
./config/startup.nix
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
settings = lib.mkMerge (
|
|
||||||
[
|
|
||||||
{
|
|
||||||
monitor = "DP-1,preferred,auto,auto";
|
|
||||||
"$terminal" = "kitty";
|
|
||||||
"$fileManager" = "Thunar";
|
|
||||||
"$menu" = "rofi -show drun";
|
|
||||||
"$lockScreen" = "hyprlock";
|
|
||||||
|
|
||||||
"$mainMod" = "SUPER";
|
|
||||||
source = "${../../../.cache/wal/colors-hyprland.conf}";
|
|
||||||
}
|
|
||||||
]
|
|
||||||
++ (lib.forEach configs (config: import config))
|
|
||||||
);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
programs.hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
background = {
|
|
||||||
blur_passes = 4;
|
|
||||||
blur_size = 2;
|
|
||||||
noise = 1.17e-2;
|
|
||||||
contrast = 0.8916;
|
|
||||||
brightness = 0.8172;
|
|
||||||
vibrancy = 0.1696;
|
|
||||||
vibrancy_darkness = 0.0;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue