add veille

This commit is contained in:
Le_Foucheur committed 2024-09-15 22:29:33 +02:00
1 parent e3de01bde8
commit 189838a491
1 file changed
+6
+6
View File
@@ -99,6 +99,12 @@ alias fastfetch="fastfetch -l arch"
alias gccsafe='gcc -g -Wall -Wextra -std=c99 -fsanitize=address,undefined' alias gccsafe='gcc -g -Wall -Wextra -std=c99 -fsanitize=address,undefined'
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme 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 # BEGIN opam configuration
# This is useful if you're using opam as it adds: # This is useful if you're using opam as it adds: