mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-26 19:14:02 +02:00
feat: hypridle config
This commit is contained in:
parent
f61127bcac
commit
4477b50cdf
4 changed files with 63 additions and 15 deletions
32
hypr-configs/dotfiles/hypr/hypridle.conf
Normal file
32
hypr-configs/dotfiles/hypr/hypridle.conf
Normal file
|
@ -0,0 +1,32 @@
|
|||
# -----------------------------------------------------
|
||||
#
|
||||
# ██╗ ██╗██╗ ██╗██████╗ ██████╗ ██╗██████╗ ██╗ ███████╗
|
||||
# ██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║██╔══██╗██║ ██╔════╝
|
||||
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║██║ ██║██║ █████╗
|
||||
# ██╔══██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██║██║ ██║██║ ██╔══╝
|
||||
# ██║ ██║ ██║ ██║ ██║ ██║██║██████╔╝███████╗███████╗
|
||||
# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚═════╝ ╚══════╝╚══════╝
|
||||
#
|
||||
# -----------------------------------------------------
|
||||
|
||||
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 = 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 = loginctl suspend # suspend pc
|
||||
}
|
|
@ -1,9 +1,11 @@
|
|||
# _ _ _ _
|
||||
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
|
||||
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
||||
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
||||
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
||||
# |___/|_|
|
||||
# -----------------------------------------------------
|
||||
#
|
||||
# ██╗ ██╗██╗ ██╗██████╗ ██████╗ ██╗ █████╗ ███╗ ██╗██████╗
|
||||
# ██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║ ██╔══██╗████╗ ██║██╔══██╗
|
||||
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║ ███████║██╔██╗ ██║██║ ██║
|
||||
# ██╔══██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██║ ██╔══██║██║╚██╗██║██║ ██║
|
||||
# ██║ ██║ ██║ ██║ ██║ ██║███████╗██║ ██║██║ ╚████║██████╔╝
|
||||
# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝
|
||||
#
|
||||
# -----------------------------------------------------
|
||||
|
||||
|
@ -16,7 +18,7 @@ source = ~/.config/hypr/configs/autostart.conf
|
|||
source = ~/.config/hypr/configs/startup.conf
|
||||
source = ~/.config/hypr/configs/monitor/export.conf
|
||||
source = ~/.config/hypr/configs/animation/export.conf
|
||||
source = ~/.config/hypr/configs/layout/export.conf
|
||||
# source = ~/.config/hypr/configs/layout/export.conf
|
||||
source = ~/.config/hypr/configs/input.conf
|
||||
source = ~/.config/hypr/configs/mouse.conf
|
||||
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
# _ _ _
|
||||
# | |__ _ _ _ __ _ __| | ___ ___| | __
|
||||
# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ /
|
||||
# | | | | |_| | |_) | | | | (_) | (__| <
|
||||
# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\
|
||||
# |___/|_|
|
||||
#
|
||||
# -----------------------------------------------------
|
||||
#
|
||||
# ██╗ ██╗██╗ ██╗██████╗ ██████╗ ██╗ ██████╗ ██████╗██╗ ██╗
|
||||
# ██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║ ██╔═══██╗██╔════╝██║ ██╔╝
|
||||
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║ ██║ ██║██║ █████╔╝
|
||||
# ██╔══██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██║ ██║ ██║██║ ██╔═██╗
|
||||
# ██║ ██║ ██║ ██║ ██║ ██║███████╗╚██████╔╝╚██████╗██║ ██╗
|
||||
# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝
|
||||
#
|
||||
# -----------------------------------------------------
|
||||
|
||||
background {
|
||||
monitor =
|
||||
|
|
|
@ -1,7 +1,18 @@
|
|||
# -----------------------------------------------------
|
||||
#
|
||||
# ██╗ ██╗██╗ ██╗██████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗
|
||||
# ██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗
|
||||
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██████╔╝███████║██████╔╝█████╗ ██████╔╝
|
||||
# ██╔══██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██╔═══╝ ██╔══██║██╔═══╝ ██╔══╝ ██╔══██╗
|
||||
# ██║ ██║ ██║ ██║ ██║ ██║██║ ██║ ██║██║ ███████╗██║ ██║
|
||||
# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝
|
||||
#
|
||||
# -----------------------------------------------------
|
||||
|
||||
$WALLPAPER_PATH = ~/.config/hypr/wallpapers
|
||||
|
||||
preload = $WALLPAPER_PATH/windows.jpg
|
||||
|
||||
wallpaper = ,$WALLPAPER_PATH/windows.jpg
|
||||
|
||||
splash = true
|
||||
splash = true
|
||||
|
|
Loading…
Add table
Reference in a new issue