From 189838a491b4af66fadf5daef22f2f2a297a4df1 Mon Sep 17 00:00:00 2001 From: le-foucheur Date: Sun, 15 Sep 2024 22:29:33 +0200 Subject: [PATCH] add veille --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zshrc b/.zshrc index 6ee47f1..6d4b107 100644 --- a/.zshrc +++ b/.zshrc @@ -99,6 +99,12 @@ alias fastfetch="fastfetch -l arch" alias gccsafe='gcc -g -Wall -Wextra -std=c99 -fsanitize=address,undefined' source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme +#pour la veille +swayidle -w \ + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' \ + before-sleep 'swaylock -f -c 000000' # BEGIN opam configuration # This is useful if you're using opam as it adds: