Compare commits

...

2 Commits

Author SHA1 Message Date
2671dfefd2 more stoof 2025-10-14 21:46:29 -07:00
2e6802f327 more hypr stuff 2025-10-14 21:44:05 -07:00
4 changed files with 58 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
# ~/.config/hypr/hypridle.conf
# Lock after 5 minutes (300 seconds)
listener {
timeout = 300
on-timeout = hyprlock
on-resume = hyprctl dispatch dpms on
}
# Turn off monitors after 10 minutes
listener {
timeout = 600
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
# Suspend system after 20 minutes
listener {
timeout = 1200
on-timeout = systemctl suspend
}
# Optional: notification before locking (requires notify-send)
listener {
timeout = 270
on-timeout = notify-send "Locking soon..." "Screen will lock in 30 seconds."
}

View File

@@ -26,6 +26,7 @@ $menu = ~/.config/rofi/launchers/type-7/launcher.sh
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = waybar &
exec-once = hypridle &
exec = hyprpaper
exec-once = wlsunset -l 47.6 -L -122.3 -t 3500 -T 6000
exec-once = /usr/bin/udiskie &
@@ -223,6 +224,9 @@ bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
bind = $mainMod, Space, togglespecialworkspace, magic
bind = $mainMod SHIFT, Space, movetoworkspacesilent, special:magic
# Lock
bind = $mainMod, ESCAPE, exec, hyprlock
# Control windows
bind = $mainMod, equal, splitratio, 0.05 # make focused split wider
bind = $mainMod, minus, splitratio, -0.05 # make focused split narrower

View File

@@ -0,0 +1,25 @@
background {
monitor =
path = screenshot
blur_passes = 3
brightness = 0.8
}
input-field {
monitor =
size = 300, 50
outline_thickness = 2
position = 0, -100
rounding = 5
inner_color = rgba(0, 0, 0, 0.5)
outer_color = rgba(255, 255, 255, 0.2)
font_color = rgba(255,255,255,1)
}
label {
monitor =
text = Welcome back, $USER
position = 0, 150
font_size = 22
color = rgba(255,255,255,0.8)
}

View File

@@ -1,6 +1,6 @@
{
"label" : "lock",
"action" : "swaylock",
"action" : "hyprlock",
"text" : "Lock",
"keybind" : "l"
}
@@ -14,7 +14,7 @@
{
"label" : "suspend",
"action" : "swaylock -f && systemctl suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}