-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
146 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
general { | ||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. | ||
before_sleep_cmd = loginctl lock-session # lock before suspend. | ||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. | ||
} | ||
|
||
listener { | ||
timeout = 150 # 2.5min. | ||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. | ||
on-resume = brightnessctl -r # monitor backlight restore. | ||
} | ||
|
||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. | ||
listener { | ||
timeout = 150 # 2.5min. | ||
on-timeout = brightnessctl -sd dell::kbd_backlight set 0 # turn off keyboard backlight. | ||
on-resume = brightnessctl -rd dell::kbd_backlight # turn on keyboard backlight. | ||
} | ||
|
||
listener { | ||
timeout = 300 # 5min | ||
on-timeout = loginctl lock-session # lock screen when timeout has passed | ||
} | ||
|
||
listener { | ||
timeout = 330 # 5.5min | ||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed | ||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. | ||
} | ||
|
||
listener { | ||
timeout = 1800 # 30min | ||
on-timeout = systemctl suspend # suspend pc | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
# BACKGROUND | ||
background { | ||
monitor = | ||
path = ~/Pictures/wall.png | ||
blur_passes = 3 | ||
contrast = 0.8916 | ||
brightness = 0.8172 | ||
vibrancy = 0.1696 | ||
vibrancy_darkness = 0.0 | ||
} | ||
|
||
# GENERAL | ||
general { | ||
# no_fade_in = false | ||
grace = 5 | ||
# disable_loading_bar = true | ||
pam_module = sudo | ||
} | ||
|
||
# INPUT FIELD | ||
input-field { | ||
monitor = | ||
size = 280, 80 | ||
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 | ||
outer_color = rgba(0, 0, 0, 0) | ||
inner_color = rgba(0, 0, 0, 0.5) | ||
font_color = rgb(200, 200, 200) | ||
fade_on_empty = false | ||
placeholder_text = <i><span foreground="##cdd6f4">Password...</span></i> | ||
hide_input = false | ||
position = 0, -120 | ||
halign = center | ||
valign = center | ||
} | ||
|
||
# TIME | ||
label { | ||
monitor = | ||
text = cmd[update:1000] echo "$(date +"%-I:%M%p")" | ||
font_size = 120 | ||
font_family = Maple Mono Bold | ||
position = 0, -300 | ||
halign = center | ||
valign = top | ||
} | ||
|
||
# USER | ||
label { | ||
monitor = | ||
text = Hi there, $USER | ||
font_size = 25 | ||
font_family = Maple Mono | ||
position = 0, -40 | ||
halign = center | ||
valign = center | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
preload = ~/Pictures/wall.png | ||
wallpaper = ,~/Pictures/wall.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters