update
This commit is contained in:
1 parent
189838a491
commit
d9e1f50d1e
3 files changed
+65
-6
No files matched your search
@@ -96,15 +96,12 @@ fi
|
|||||||
|
|
||||||
alias deezer="deezer-enhanced --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
alias deezer="deezer-enhanced --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||||
alias fastfetch="fastfetch -l arch"
|
alias fastfetch="fastfetch -l arch"
|
||||||
|
alias circuit="circuitjs1-electron"
|
||||||
alias gccsafe='gcc -g -Wall -Wextra -std=c99 -fsanitize=address,undefined'
|
alias gccsafe='gcc -g -Wall -Wextra -std=c99 -fsanitize=address,undefined'
|
||||||
|
alias fastfetch="fastfetch -l asahi && fastfetch -l fedora && fastfetch -l bedrock && fastfetch -l arch"
|
||||||
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:
|
||||||
|
|||||||
@@ -6,3 +6,9 @@ dbus-run-session sway -Vd
|
|||||||
# dbus-launch
|
# dbus-launch
|
||||||
#sway -Vd
|
#sway -Vd
|
||||||
|
|
||||||
|
#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'
|
||||||
Executable
+56
@@ -0,0 +1,56 @@
|
|||||||
|
rm -r /home/jvj/wallpaper/
|
||||||
|
mkdir /home/jvj/wallpaper
|
||||||
|
|
||||||
|
######################
|
||||||
|
# #
|
||||||
|
# Rarity #
|
||||||
|
# #
|
||||||
|
######################
|
||||||
|
|
||||||
|
nb_leg=1
|
||||||
|
legendary=1
|
||||||
|
nb_com=2
|
||||||
|
commun=$(( ( 100 - $legendary * $nb_leg) / $nb_com ))
|
||||||
|
|
||||||
|
######################
|
||||||
|
# #
|
||||||
|
# Outer Wilds #
|
||||||
|
# #
|
||||||
|
######################
|
||||||
|
|
||||||
|
#you destroy the fabirc of spacetime
|
||||||
|
|
||||||
|
for i in $(seq $legendary)
|
||||||
|
do
|
||||||
|
if [[ $1 == "-d" ]];then
|
||||||
|
echo "print OuterWilds - fabicdeleted : $i"
|
||||||
|
fi
|
||||||
|
cp /home/jvj/wallpaperperm/OuterWilds/fabicdeleted.jpg /home/jvj/wallpaper/fabicdeleted_$i.jpg
|
||||||
|
done
|
||||||
|
|
||||||
|
#New space time
|
||||||
|
for i in $(seq $commun)
|
||||||
|
do
|
||||||
|
if [[ $1 == "-d" ]];then
|
||||||
|
echo "print OuterWilds - NewSpaceTime : $i"
|
||||||
|
fi
|
||||||
|
cp /home/jvj/wallpaperperm/OuterWilds/NewSpaceTime.png /home/jvj/wallpaper/NewSpaceTime_$i.png
|
||||||
|
done
|
||||||
|
|
||||||
|
#Solar system
|
||||||
|
for i in $(seq $commun)
|
||||||
|
do
|
||||||
|
if [[ $1 == "-d" ]];then
|
||||||
|
echo "print OuterWilds - Solarsyi : $i"
|
||||||
|
fi
|
||||||
|
cp /home/jvj/wallpaperperm/OuterWilds/O_SolarSyi.jpg /home/jvj/wallpaper/O_SolarSyi_$i.jpg
|
||||||
|
done
|
||||||
|
|
||||||
|
if [[ $1 == "-d" ]];then
|
||||||
|
echo "—————————————————————————
|
||||||
|
nombre de legendaire : $nb_leg
|
||||||
|
Rareté legendaire : $legendary
|
||||||
|
nombre de commun : $nb_com
|
||||||
|
Rareté commun : $commun
|
||||||
|
—————————————————————————"
|
||||||
|
fi
|
||||||
Reference in new issue
Block a user