Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Oct 13, 2024
1 parent 12ba658 commit a9c4141
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 2 deletions.
80 changes: 80 additions & 0 deletions home/hypr/hyprlock.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# BACKGROUND
background {
monitor =
#path = screenshot
path = $HOME/Pictures/109066252_p0.jpg
#color = $background
blur_passes = 2
contrast = 1
brightness = 0.5
vibrancy = 0.2
vibrancy_darkness = 0.2
}

# GENERAL
general {
no_fade_in = true
no_fade_out = true
hide_cursor = false
grace = 0
disable_loading_bar = true
}

# INPUT FIELD
input-field {
monitor =
size = 250, 60
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = rgba(0, 0, 0, 0)
inner_color = rgba(0, 0, 0, 0.2)
font_color = rgba(255, 255, 255, 0.3)
fade_on_empty = false
rounding = -1
check_color = rgb(204, 136, 34)
placeholder_text = <i><span foreground="##cdd6f4">Password</span></i>
hide_input = false
position = 0, -200
halign = center
valign = center
}

# DATE
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(242, 243, 244, 0.75)
font_size = 22
font_family = JetBrains Mono
position = 0, 300
halign = center
valign = center
}

# TIME
label {
monitor =
text = cmd[update:1000] echo "$(date +"%-I:%M")"
color = rgba(242, 243, 244, 0.75)
font_size = 95
font_family = SF Pro Text
position = 0, 200
halign = center
valign = center
}



# Profile Picture
image {
monitor =
path = $HOME/Pictures/photo_2023-08-01_01-12-50.jpg
size = 100
border_size = 2
border_color = $foreground
position = 0, -100
halign = center
valign = center
}
4 changes: 2 additions & 2 deletions hosts/graphBase.nix
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@
timeouts = [
{
timeout = 900;
command = "${pkgs.swaylock}/bin/swaylock";
command = "${pkgs.hyprlock}/bin/hyprlock";
}
];
events = [
{
event = "lock";
command = "${pkgs.swaylock}/bin/swaylock";
command = "${pkgs.hyprlock}/bin/hyprlock";
}
{
event = "before-sleep";
Expand Down
1 change: 1 addition & 0 deletions hosts/niri.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
package = pkgs.niri;
enable = true;
};
programs.hyprlock.enable = true;
services.greetd = {
enable = true;
settings = rec {
Expand Down
1 change: 1 addition & 0 deletions userPkgs.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ pkgs, ... }:
with pkgs;
[
turbo
eva
paperback
amberol
Expand Down

0 comments on commit a9c4141

Please sign in to comment.