mirror of
https://git.gay/xqtc/nixos-config
synced 2025-05-11 08:37:29 +02:00
riceeee
This commit is contained in:
parent
068bf6c3fa
commit
f263534fb2
6 changed files with 90 additions and 12 deletions
1
home/config-files/anarchy-symbol.svg
Normal file
1
home/config-files/anarchy-symbol.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg width="620" height="620" xmlns="http://www.w3.org/2000/svg" stroke="#000" stroke-width="62" fill="none"><circle cx="310" cy="310" r="269"/><path d="m113 493 198-412 125 256h-248 248l77 156"/></svg>
|
After (image error) Size: 204 B |
BIN
home/config-files/anarchy_symbol.png
Normal file
BIN
home/config-files/anarchy_symbol.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 92 KiB |
BIN
home/config-files/chaos_star.png
Normal file
BIN
home/config-files/chaos_star.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 9.9 KiB |
BIN
home/config-files/chaos_star_white.png
Normal file
BIN
home/config-files/chaos_star_white.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 14 KiB |
BIN
home/config-files/nix-snowflake-trans-colours.png
Normal file
BIN
home/config-files/nix-snowflake-trans-colours.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 28 KiB |
|
@ -15,7 +15,31 @@
|
|||
extraConfig = builtins.readFile ../config-files/hyprland.conf;
|
||||
};
|
||||
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
lock_cmd = "pidof hyprlock || hyprlock";
|
||||
before_sleep_cmd = "loginctl lock-session";
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = "30";
|
||||
on-timeout = "brightnessctl -s set 10";
|
||||
on-resume = "brightnessctl -r";
|
||||
}
|
||||
{
|
||||
timeout = "60";
|
||||
on-timeout = "loginctl lock-session";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/hypr/pfp.jpg".source = ../config-files/hyprlock-pfp.jpg;
|
||||
home.file.".config/hypr/nixos-logo.png".source = ../config-files/nix-snowflake-trans-colours.png;
|
||||
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
@ -29,9 +53,10 @@
|
|||
|
||||
background = [
|
||||
{
|
||||
path = "screenshot";
|
||||
blur_passes = 3;
|
||||
blur_size = 8;
|
||||
# path = "screenshot";
|
||||
# blur_passes = 3;
|
||||
# blur_size = 8;
|
||||
color = "rgb(0e1419)";
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -42,27 +67,67 @@
|
|||
monitor = "";
|
||||
dots_center = true;
|
||||
fade_on_empty = false;
|
||||
font_color = "rgb(202, 211, 245)";
|
||||
inner_color = "rgb(91, 96, 120)";
|
||||
outer_color = "rgb(24, 25, 38)";
|
||||
font_color = "rgb(f5a9b8)";
|
||||
inner_color = "rgb(14, 20, 25)";
|
||||
outer_color = "rgb(25, 19, 14)";
|
||||
outline_thickness = 5;
|
||||
placeholder_text = "<span foreground=\"##cad3f5\">Password...</span>";
|
||||
placeholder_text = "<span foreground=\"##f5a9b8\">Password...</span>";
|
||||
shadow_passes = 2;
|
||||
}
|
||||
];
|
||||
image = [
|
||||
{
|
||||
size = "150";
|
||||
size = "120";
|
||||
path = "/home/xqtc/.config/hypr/pfp.jpg";
|
||||
rounding = "-1";
|
||||
position = "0, 230";
|
||||
position = "0, 270";
|
||||
border_color = "rgb(f5a9b8)";
|
||||
}
|
||||
{
|
||||
size = "80";
|
||||
path = "/home/xqtc/.config/hypr/nixos-logo.png";
|
||||
rounding = "0";
|
||||
position = "0, -215";
|
||||
border_color = "rgba(0,0,0,0.0)";
|
||||
}
|
||||
{
|
||||
size = "80";
|
||||
path = "${ ../config-files/chaos_star_white.png }";
|
||||
rounding = "0";
|
||||
position = "110, -215";
|
||||
border_color = "rgba(0,0,0,0.0)";
|
||||
}
|
||||
{
|
||||
size = "80";
|
||||
path = "${ ../config-files/anarchy_symbol.png }";
|
||||
rounding = "0";
|
||||
position = "-110, -215";
|
||||
border_color = "rgba(0,0,0,0.0)";
|
||||
}
|
||||
];
|
||||
label = [
|
||||
{
|
||||
text = "Hi there,";
|
||||
color = "rgb(5bcefa)";
|
||||
font_size = 25;
|
||||
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, 390";
|
||||
}
|
||||
{
|
||||
text = "cmd[update:100000] echo -n $USER";
|
||||
color = "rgb(f5a9b8)";
|
||||
font_size = 25;
|
||||
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, 170";
|
||||
}
|
||||
# Time
|
||||
{
|
||||
text = "cmd[update:200] date +'%r'";
|
||||
color = "$text";
|
||||
color = "rgb(f5a9b8)";
|
||||
font_size = 30;
|
||||
|
||||
halign = "center";
|
||||
|
@ -72,7 +137,7 @@
|
|||
# Date
|
||||
{
|
||||
text = "cmd[update:1000] date +'%a, %x'";
|
||||
color = "$text";
|
||||
color = "rgb(5bcefa)";
|
||||
font_size = 20;
|
||||
|
||||
halign = "center";
|
||||
|
@ -81,13 +146,25 @@
|
|||
}
|
||||
{
|
||||
text = "nyaa~";
|
||||
color = "$text";
|
||||
color = "rgb(f5a9b8)";
|
||||
font_size = 10;
|
||||
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, 0";
|
||||
}
|
||||
{
|
||||
# text = "<span><span foreground=\"##5BCEFA\">TRANS</span> <span foreground=\"##F5A9B8\">RIGHTS</span> OR <span foreground=\"##F5A9B8\">RIOT</span> <span foreground=\"##5BCEFA\">TRANS</span>NIGHTS!</span></span>";
|
||||
# text = "TRANS RIGHTS OR RIOT NIGHTS!";
|
||||
# color = "gradient(rgb(5bcefa) rgb(f5a9bb) rgb(ffffff) rgb(f5a9bb) rgb(5bcefa))";
|
||||
# text = "cmd[update:30000] echo \"<span foreground='##f5a9b8'> $(cat /sys/class/power_supply/BAT0/capacity)</span>\"";
|
||||
text = "cmd[update:1000] echo \"<span foreground='##f5a9b8'>$(for bat in /sys/class/power_supply/BAT*/capacity; do echo -n \" $(basename $(dirname \"$bat\")): $(cat \"$bat\")% \"; done)</span>\"";
|
||||
font_size = 15;
|
||||
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
position = "0, -350";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue