viking-mate: match hypridle/hyprlock to cn-arch
This commit is contained in:
@@ -41,6 +41,8 @@ bind = $mainMod, E, exec, $fileManager
|
|||||||
bind = $mainMod, D, exec, $launcher
|
bind = $mainMod, D, exec, $launcher
|
||||||
bind = $mainMod SHIFT, D, exec, $uuctl
|
bind = $mainMod SHIFT, D, exec, $uuctl
|
||||||
bind = $mainMod, PERIOD, exec, $emote
|
bind = $mainMod, PERIOD, exec, $emote
|
||||||
|
bind = $mainMod, F12, exec, pkill -SIGUSR2 waybar
|
||||||
|
|
||||||
|
|
||||||
# SwayNC controls
|
# SwayNC controls
|
||||||
bind = $mainMod, Grave, exec, $notcenter
|
bind = $mainMod, Grave, exec, $notcenter
|
||||||
|
@@ -1,33 +1,21 @@
|
|||||||
# Laptop: dim -> lock -> dpms off -> suspend
|
# Same as cn-arch: lock at 10 min, screen off at 15 min.
|
||||||
|
|
||||||
general {
|
general {
|
||||||
lock_cmd = hyprlock
|
lock_cmd = hyprlock
|
||||||
before_sleep_cmd = hyprlock
|
before_sleep_cmd = hyprlock
|
||||||
after_sleep_cmd = hyprctl dispatch dpms on
|
after_sleep_cmd = hyprctl dispatch dpms on
|
||||||
}
|
}
|
||||||
|
|
||||||
# Dim after 4 min
|
# Lock after 10 minutes
|
||||||
listener {
|
listener {
|
||||||
timeout = 240
|
timeout = 600
|
||||||
on-timeout = brightnessctl -s set 10%
|
|
||||||
on-resume = brightnessctl -r
|
|
||||||
}
|
|
||||||
|
|
||||||
# Lock after 6 min
|
|
||||||
listener {
|
|
||||||
timeout = 360
|
|
||||||
on-timeout = hyprlock
|
on-timeout = hyprlock
|
||||||
}
|
}
|
||||||
|
|
||||||
# Screen off after 8 min
|
# DPMS off after 15 minutes (wakes on input)
|
||||||
listener {
|
listener {
|
||||||
timeout = 480
|
timeout = 900
|
||||||
on-timeout = hyprctl dispatch dpms off
|
on-timeout = hyprctl dispatch dpms off
|
||||||
on-resume = hyprctl dispatch dpms on
|
on-resume = hyprctl dispatch dpms on
|
||||||
}
|
}
|
||||||
|
|
||||||
# Suspend after 20 min
|
|
||||||
listener {
|
|
||||||
timeout = 1200
|
|
||||||
on-timeout = systemctl suspend
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@@ -1,5 +1,35 @@
|
|||||||
background { path = ~/.config/hypr/images/standard.jpg; blur_size = 8; blur_passes = 2; brightness = 0.7; }
|
# Same minimal lock as cn-arch
|
||||||
input-field { outline_thickness = 2; rounding = 8; size = 300, 42; position = 0, -100; dots_center = true; }
|
|
||||||
label { text = $TIME; font_size = 32; position = 0, 40; color = rgba(ffffffff); }
|
background {
|
||||||
label { text = $USER; font_size = 16; position = 0, 80; color = rgba(ddddddff); }
|
monitor =
|
||||||
|
path = ~/.config/hypr/images/standard.jpg
|
||||||
|
blur_size = 8
|
||||||
|
blur_passes = 2
|
||||||
|
brightness = 0.7
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
outline_thickness = 2
|
||||||
|
rounding = 8
|
||||||
|
size = 300, 42
|
||||||
|
position = 0, -100
|
||||||
|
dots_center = true
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME
|
||||||
|
font_size = 32
|
||||||
|
position = 0, 40
|
||||||
|
color = rgba(ffffffff)
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $USER
|
||||||
|
font_size = 16
|
||||||
|
position = 0, 80
|
||||||
|
color = rgba(ddddddff)
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user