feat: add useful utilities
This commit is contained in:
95
custom/hyprlock/hyprlock.conf
Normal file
95
custom/hyprlock/hyprlock.conf
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
$font = Monospace
|
||||||
|
|
||||||
|
general {
|
||||||
|
hide_cursor = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# uncomment to enable fingerprint authentication
|
||||||
|
# auth {
|
||||||
|
# fingerprint {
|
||||||
|
# enabled = true
|
||||||
|
# ready_message = Scan fingerprint to unlock
|
||||||
|
# present_message = Scanning...
|
||||||
|
# retry_delay = 250 # in milliseconds
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
bezier = linear, 1, 1, 0, 0
|
||||||
|
animation = fadeIn, 1, 5, linear
|
||||||
|
animation = fadeOut, 1, 5, linear
|
||||||
|
animation = inputFieldDots, 1, 2, linear
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 3
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 20%, 5%
|
||||||
|
outline_thickness = 3
|
||||||
|
inner_color = rgba(0, 0, 0, 0.0) # no fill
|
||||||
|
|
||||||
|
outer_color = rgba(ffffffff)
|
||||||
|
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
|
||||||
|
|
||||||
|
font_family = $font
|
||||||
|
placeholder_text = Input password...
|
||||||
|
fail_text = $PAMFAIL
|
||||||
|
|
||||||
|
# uncomment to use a letter instead of a dot to indicate the typed password
|
||||||
|
# dots_text_format = *
|
||||||
|
# dots_size = 0.4
|
||||||
|
dots_spacing = 0.3
|
||||||
|
|
||||||
|
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
|
||||||
|
# hide_input = true
|
||||||
|
|
||||||
|
position = 0, -20
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
|
||||||
|
font_size = 60
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = -30, 0
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
# label {
|
||||||
|
# monitor =
|
||||||
|
# text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
|
||||||
|
# font_size = 25
|
||||||
|
# font_family = $font
|
||||||
|
#
|
||||||
|
# position = -30, -150
|
||||||
|
# halign = right
|
||||||
|
# valign = top
|
||||||
|
# }
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $LAYOUT[en]
|
||||||
|
font_size = 24
|
||||||
|
onclick = hyprctl switchxkblayout all next
|
||||||
|
|
||||||
|
position = 250, -20
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
@@ -34,6 +34,7 @@
|
|||||||
libnotify
|
libnotify
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
swaybg
|
swaybg
|
||||||
|
gnome-themes-extra
|
||||||
];
|
];
|
||||||
programs.thunar.enable = true;
|
programs.thunar.enable = true;
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
@@ -54,17 +55,19 @@
|
|||||||
"font-size" = 15;
|
"font-size" = 15;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
waybar = {
|
hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
waybar.source = ../../custom/waybar;
|
"hypr/hyprlock.conf".source = ../../custom/hyprlock/hyprlock.conf;
|
||||||
};
|
};
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile = ../../custom/dunst/dunstrc;
|
configFile = ../../custom/dunst/dunstrc;
|
||||||
};
|
};
|
||||||
|
services.hyprpolkitagent.enable = true;
|
||||||
|
services.copyq.enable = true;
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme.name = "Adwaita-dark";
|
theme.name = "Adwaita-dark";
|
||||||
|
|||||||
Reference in New Issue
Block a user