diff --git a/hypr-configs/dotfiles/hypr/hypridle.conf b/hypr-configs/dotfiles/hypr/hypridle.conf new file mode 100644 index 0000000..f7bafd1 --- /dev/null +++ b/hypr-configs/dotfiles/hypr/hypridle.conf @@ -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 +} \ No newline at end of file diff --git a/hypr-configs/dotfiles/hypr/hyprland.conf b/hypr-configs/dotfiles/hypr/hyprland.conf index 3d766de..9e8ff69 100644 --- a/hypr-configs/dotfiles/hypr/hyprland.conf +++ b/hypr-configs/dotfiles/hypr/hyprland.conf @@ -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 diff --git a/hypr-configs/dotfiles/hypr/hyprlock.conf b/hypr-configs/dotfiles/hypr/hyprlock.conf index 24ff41e..ae0bf19 100644 --- a/hypr-configs/dotfiles/hypr/hyprlock.conf +++ b/hypr-configs/dotfiles/hypr/hyprlock.conf @@ -1,10 +1,13 @@ -# _ _ _ -# | |__ _ _ _ __ _ __| | ___ ___| | __ -# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ / -# | | | | |_| | |_) | | | | (_) | (__| < -# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\ -# |___/|_| -# +# ----------------------------------------------------- +# +# ██╗ ██╗██╗ ██╗██████╗ ██████╗ ██╗ ██████╗ ██████╗██╗ ██╗ +# ██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║ ██╔═══██╗██╔════╝██║ ██╔╝ +# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║ ██║ ██║██║ █████╔╝ +# ██╔══██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██║ ██║ ██║██║ ██╔═██╗ +# ██║ ██║ ██║ ██║ ██║ ██║███████╗╚██████╔╝╚██████╗██║ ██╗ +# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝ +# +# ----------------------------------------------------- background { monitor = diff --git a/hypr-configs/dotfiles/hypr/hyprpaper.conf b/hypr-configs/dotfiles/hypr/hyprpaper.conf index f417269..bd6edcf 100644 --- a/hypr-configs/dotfiles/hypr/hyprpaper.conf +++ b/hypr-configs/dotfiles/hypr/hyprpaper.conf @@ -1,7 +1,18 @@ +# ----------------------------------------------------- +# +# ██╗ ██╗██╗ ██╗██████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗ +# ██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗ +# ███████║ ╚████╔╝ ██████╔╝██████╔╝██████╔╝███████║██████╔╝█████╗ ██████╔╝ +# ██╔══██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██╔═══╝ ██╔══██║██╔═══╝ ██╔══╝ ██╔══██╗ +# ██║ ██║ ██║ ██║ ██║ ██║██║ ██║ ██║██║ ███████╗██║ ██║ +# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ +# +# ----------------------------------------------------- + $WALLPAPER_PATH = ~/.config/hypr/wallpapers preload = $WALLPAPER_PATH/windows.jpg wallpaper = ,$WALLPAPER_PATH/windows.jpg -splash = true \ No newline at end of file +splash = true