quite the coherence coming up
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{inputs, pkgs, ...}:
|
||||
{inputs, pkgs, ...}:
|
||||
{
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
@@ -21,16 +21,15 @@
|
||||
{
|
||||
# lock screen after 5 minutes
|
||||
timeout = 300;
|
||||
on-timeout = "loginctl lock-session";
|
||||
}
|
||||
{
|
||||
# turnoff screen after 10 minutes
|
||||
timeout = 600;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-timeout = "loginctl lock-session && hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
{
|
||||
# suspend after 10 minutes
|
||||
timeout = 600;
|
||||
on-timeout = "systemctl suspend";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
|
||||
# TODO - suspend after some time
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"$mod, e, exec, nautilus"
|
||||
|
||||
# Lock screen
|
||||
"$mod+Shift, l, exec, hyprlock"
|
||||
"$mod, l, exec, hyprlock"
|
||||
|
||||
# Clipboard management
|
||||
"$mod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy"
|
||||
@@ -98,7 +98,7 @@
|
||||
# hyprpaper is handled as its own service
|
||||
"${pkgs.waybar}/bin/waybar"
|
||||
# listen to clipboard events and send them to cliphist
|
||||
"wl-paste --watch cliphist stores"
|
||||
"wl-paste --watch cliphist store"
|
||||
"${pkgs.waybar}/bin/hypridle"
|
||||
"hyprpaper"
|
||||
# # Fixes cursor themes in gnome apps under hyprland
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{inputs, pkgs, ...}:
|
||||
{inputs, pkgs, ...}:
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
@@ -8,39 +8,28 @@
|
||||
no_fade_in = false;
|
||||
disable_loading_bar = false;
|
||||
};
|
||||
auth = {
|
||||
"pam:enabled" = true;
|
||||
};
|
||||
|
||||
background = {
|
||||
blur_passes = 3;
|
||||
blur_size = 10;
|
||||
# image is set by stylix
|
||||
};
|
||||
|
||||
input-field = {
|
||||
monitor = "";
|
||||
size = "300, 60";
|
||||
outline_thickness = 3;
|
||||
inner_color = "rgba(0, 0, 0, 0.0)";
|
||||
|
||||
outer_color = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
||||
check_color = "rgba(00ff99ee) rgba(ff6633ee) 120deg";
|
||||
fail_color = "rgba(ff6633ee) rgba(ff0066ee) 40deg";
|
||||
|
||||
font_color = "rgb(143, 143, 143)";
|
||||
fade_on_empty = false;
|
||||
rounding = 15;
|
||||
|
||||
# radius = 15;
|
||||
position = "0, -250";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
};
|
||||
|
||||
label = [
|
||||
{
|
||||
# Day-Month-Date
|
||||
monitor = "";
|
||||
text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"'';
|
||||
# color = foreground;
|
||||
font_size = 28;
|
||||
# font_family = font + " Bold";
|
||||
position = "0, 490";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
@@ -49,28 +38,13 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"'';
|
||||
# color = foreground;
|
||||
font_size = 160;
|
||||
font_weight = "bold";
|
||||
# font_family = "steelfish outline regular";
|
||||
position = "0, 370";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
# USER
|
||||
{
|
||||
monitor = "";
|
||||
text = " $USER";
|
||||
# color = foreground;
|
||||
outline_thickness = 2;
|
||||
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true;
|
||||
font_size = 18;
|
||||
# font_family = font + " Bold";
|
||||
position = "0, -180";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
# waybar requires font-awesome
|
||||
home.packages = [
|
||||
pkgs.pavucontrol
|
||||
# fira code now contains ligatures and font-awesome
|
||||
# TODO - this only works after nixpkgs 25.05
|
||||
# nerd-fonts.fira-code
|
||||
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
pkgs.fira-code
|
||||
|
||||
];
|
||||
|
||||
# enable waybar
|
||||
|
||||
Reference in New Issue
Block a user