hypr eco systems

This commit is contained in:
cnst
2024-07-15 19:40:02 +02:00
parent 7052dc1c10
commit 46aaf625b2
42 changed files with 118 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,69 @@
{
programs.hyprlock = {
enable = true;
settings = {
general = {
disable_loading_bar = true;
hide_cursor = false;
no_fade_in = true;
};
background = [
{
path = "/src/wallpaper.png";
blur_size = 3;
blur_passes = 2;
}
];
input-field = [
{
monitor = "";
size = "200, 50";
outline_thickness = 2;
dots_size = 0.33;
dots_spacing = 0.15;
dots_center = true;
dots_rounding = -1;
outer_color = "rgba(3B3B3B55)";
inner_color = "rgba(33333311)";
font_color = "rgba(FFFFFFFF)";
fade_on_empty = true;
fade_timeout = 5000;
placeholder_text = "";
hide_input = false;
rounding = -1;
check_color = "rgb(204, 136, 34)";
failed_color = "rgb(204, 34, 34)";
}
];
label = [
{
# Clock
monitor = "";
text = "cmd[update:1000] echo '$TIME'";
shadow_passes = 1;
shadow_boost = 0.5;
color = "rgba(FFFFFFFF)";
font_size = 85;
font_family = "Input Mono";
position = "0, 300";
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";
}
];
};
};
}

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 KiB

View File

@@ -48,7 +48,6 @@
qt5.qtwayland
qt6.qtwayland
slurp
swaybg
# thefuck
wireguard-tools
wl-clipboard