hyprsunset
This commit is contained in:
@ -38,6 +38,7 @@
|
||||
./home/nextcloud.nix # Nextcloud autostart
|
||||
./home/code-cursor.nix # Cursor config
|
||||
./home/vim.nix # Vim config
|
||||
./home/hyprsunset.nix # Hyprsunset night mode
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -101,6 +101,7 @@
|
||||
hyprpaper # Wallpaper daemon
|
||||
hyprlock # Screen lock utility
|
||||
hyprpicker # Color picker
|
||||
hyprsunset # Night mode
|
||||
|
||||
# ---- CLIPBOARD & INPUT ----
|
||||
wl-clipboard # Clipboard utilities for Wayland
|
||||
|
@ -8,6 +8,7 @@ in {
|
||||
exec-once = [
|
||||
"hyprpaper"
|
||||
"hypridle"
|
||||
"hyprsunset"
|
||||
"hyprctl setcursor capitaine-cursors-white 28" # Set mouse cursor
|
||||
"wl-paste --type text --watch cliphist store" # Stores only text data
|
||||
"wl-paste --type image --watch cliphist store" # Stores only image data
|
||||
|
19
modules/home/hyprsunset.nix
Normal file
19
modules/home/hyprsunset.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
services.hyprsunset = {
|
||||
enable = true;
|
||||
transitions = {
|
||||
sunrise = {
|
||||
calendar = "*-*-* 06:00:00";
|
||||
requests = [
|
||||
["identity"]
|
||||
];
|
||||
};
|
||||
sunset = {
|
||||
calendar = "*-*-* 20:00:00";
|
||||
requests = [
|
||||
["temperature" "3000"]
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user