more hypr stuff
This commit is contained in:
27
.config/hypr/hypridle.conf
Normal file
27
.config/hypr/hypridle.conf
Normal 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."
|
||||
}
|
||||
@@ -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 &
|
||||
|
||||
25
.config/hypr/hyprlock.conf
Normal file
25
.config/hypr/hyprlock.conf
Normal 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)
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user