insanity, trying hyprpaper again

This commit is contained in:
cnst
2024-07-16 11:23:13 +02:00
parent 0751537bcb
commit 9a54eef7e0
5 changed files with 49 additions and 343 deletions

View File

@@ -2,5 +2,6 @@
imports = [
./idle
./lock
./paper
];
}

View File

@@ -1,20 +1,17 @@
{
services.hypridle = {
enable = true;
importantPrefixes = [
"$lock_cmd = pidof hyprlock || hyprlock"
"$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend"
];
settings = {
general = {
lock_cmd = "$lock_cmd";
lock_cmd = "hyprlock";
before_sleep_cmd = "$lock_cmd";
after_sleep_cmd = "hyprctl dispatch dpms on";
};
listener = [
{
timeout = 900; # 15mins
on-timeout = "$lock_cmd";
on-timeout = "hyprlock";
}
{
timeout = 1200; # 20mins

View File

@@ -51,20 +51,20 @@
halign = "center";
valign = "center";
}
# {
# # Date
# monitor = "";
# text = "cmd[update:1000] echo '$(date -I)'";
# shadow_passes = 1;
# shadow_boost = 0.5;
# color = "rgba(FFFFFFFF)";
# font_size = 25;
# font_family = "Input Mono Compressed";
#
# position = "0, 280";
# halign = "center";
# valign = "center";
# }
{
# Date
monitor = "";
text = "cmd[update:3600000] date +'%a %b %d'";
shadow_passes = 1;
shadow_boost = 0.5;
color = "rgba(FFFFFFFF)";
font_size = 25;
font_family = "Input Mono Compressed";
position = "0, 230";
halign = "center";
valign = "center";
}
];
};
};

View File

@@ -0,0 +1,17 @@
{
services.hyprpaper = {
enable = true;
settings = {
ipc = "on";
splash = false;
splash_offset = 2.0;
preload = ["~/media/images/nix.png" "~/media/images/wallpaper.png"];
wallpaper = [
"DP-3,~/media/images/wallpaper.png"
# "DP-1,/share/wallpapers/cat_pacman.png"
];
};
};
}