Updates
This commit is contained in:
parent
0c12a540d3
commit
c599054e50
|
@ -10,8 +10,6 @@ packagesPacman=(
|
||||||
|
|
||||||
packagesYay=(
|
packagesYay=(
|
||||||
"swww"
|
"swww"
|
||||||
"hypridle-git"
|
|
||||||
"hyprlock-git"
|
|
||||||
"wlogout"
|
"wlogout"
|
||||||
"nwg-look"
|
"nwg-look"
|
||||||
"emote"
|
"emote"
|
||||||
|
|
13
.install/screenlock.sh
Executable file
13
.install/screenlock.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo -e "${GREEN}"
|
||||||
|
figlet "Screen lock"
|
||||||
|
echo -e "${NONE}"
|
||||||
|
if [[ $(_isInstalledYay "hypridle-git") == 1 ]] || [[ $(_isInstalledYay "hyprlock-git") == 1 ]]; then
|
||||||
|
echo "You can install hypridle and hyprlock lock your screen automatically."
|
||||||
|
if gum confirm "Do you want to install hypridle and hyprlock?" ;then
|
||||||
|
yay --noconfirm -S hypridle-git hyprlock-git
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo ":: hypridle and hyprlock are already installed."
|
||||||
|
fi
|
||||||
|
echo
|
|
@ -49,6 +49,7 @@ if [[ $profile == *"Hyprland"* ]]; then
|
||||||
echo -e "${NONE}"
|
echo -e "${NONE}"
|
||||||
source .install/packages/hyprland-packages.sh
|
source .install/packages/hyprland-packages.sh
|
||||||
source .install/install-packages.sh
|
source .install/install-packages.sh
|
||||||
|
source .install/screenlock.sh
|
||||||
fi
|
fi
|
||||||
if [[ $profile == *"Qtile"* ]]; then
|
if [[ $profile == *"Qtile"* ]]; then
|
||||||
echo -e "${GREEN}"
|
echo -e "${GREEN}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user