Hyprsunset, fixed hyprpaper, brightnessctl, upower

This commit is contained in:
2025-02-02 18:16:17 +01:00
parent 72cd5d5353
commit c770b16254
8 changed files with 15 additions and 7 deletions

View File

@ -5,6 +5,7 @@ let
suspendAfter = 7200;
in
{
wayland.windowManager.hyprland.settings.exec-once = [ "hypridle" ];
services.hypridle = {
enable = true;
settings = {

View File

@ -1,6 +1,9 @@
# Wallpapers
{ pkgs, ... }:
let
common = import ../../common.nix;
in
{
home.packages = with pkgs; [
hyprpaper
@ -12,7 +15,6 @@
let
wallpaperDir = ../../wallpapers;
monitor1 = "${wallpaperDir}/nixos_waves.png";
monitor2 = "${wallpaperDir}/ekg_v2.png";
in
{
ipc = "on";
@ -21,12 +23,10 @@
preload = [
monitor1
monitor2
];
wallpaper = [
"DP-1,${monitor1}"
"DP-3,${monitor2}"
"${common.monitor1},${monitor1}"
];
};
};

View File

@ -7,16 +7,15 @@ in
{
wayland.windowManager.hyprland.settings = {
monitor = [
", 1920x1080@60.05, 0x0, 1"
"${common.monitor1}, 1920x1080@60.05, 0x0, 1"
];
# Autostart
exec-once = [
app.browser
app.terminal
"hypridle"
"systemctl --user start hyprpolkitagent"
"waypaper --restore"
"hyprsunset -t 5000" # Set blue light filter
];
env = [