This commit is contained in:
Noa Aarts 2024-03-19 10:10:07 +01:00
parent 6d35cae3ff
commit 8f19c6d7b4
5 changed files with 85 additions and 10 deletions

View file

@ -1,7 +1,7 @@
{ ... }:
{ config, pkgs, inputs, ... }:
{
options.services.hypridle = {
services.hypridle = {
enable = true;
# TODO: find commands to turn on/off monitors
};

View file

@ -6,7 +6,8 @@
./kitty.nix
./waybar.nix
./wofi.nix
./hypridle.nix
# ./hypridle.nix # TODO: find out why these bitches not work
# ./hyprlock.nix
];
home.packages = with pkgs; [
hyprland
@ -22,8 +23,8 @@
enable = true;
settings = {
monitor = [
"DP-3,2560x1440@360,2560x0,1,bitdepth,10,vrr,1"
"DP-2,2560x1440@144,0x0,1,bitdepth,10,vrr,1"
"DP-3,2560x1440@360,2560x0,1,vrr,1"
"DP-2,2560x1440@144,0x0,1,vrr,1"
];
windowrulev2 = [
"opacity 1.0 0.6,class:^(kitty)$"
@ -47,6 +48,9 @@
"col.active_border"="0xff950fad";
"col.inactive_border"="0xff26052e";
};
misc = {
key_press_enables_dpms = true;
};
decoration = {
rounding = "6";
active_opacity = "1";

8
common/hyprlock.nix Normal file
View file

@ -0,0 +1,8 @@
{ config, pkgs, inputs, ... }:
{
programs.hyprlock = {
enable = true;
# TODO: find commands to turn on/off monitors
};
}