Add monitor settings information

This commit is contained in:
Stephan Raabe 2023-11-24 13:58:59 +01:00
parent 5cefe3a3c8
commit 3cfec061ca
4 changed files with 48 additions and 4 deletions

View File

@ -2,6 +2,15 @@
# DONE
# ------------------------------------------------------
echo "DONE!"
echo -e "${GREEN}"
cat <<"EOF"
____ ___ _ _ _____
| _ \ / _ \| \ | | ____|
| | | | | | | \| | _|
| |_| | |_| | |\ | |___
|____/ \___/|_| \_|_____|
EOF
echo -e "${NONE}"
echo "IMPORTANT: Please logout and reboot your system!"
echo ""

34
.install/monitor.sh Normal file
View File

@ -0,0 +1,34 @@
# ------------------------------------------------------
# Monitor
# ------------------------------------------------------
if [[ $profile == *"Hyprland"* ]]; then
echo -e "${GREEN}"
cat <<"EOF"
__ __ _ _
| \/ | ___ _ __ (_) |_ ___ _ __ ___
| |\/| |/ _ \| '_ \| | __/ _ \| '__/ __|
| | | | (_) | | | | | || (_) | | \__ \
|_| |_|\___/|_| |_|_|\__\___/|_| |___/
EOF
echo -e "${NONE}"
if [ -f ~/dotfiles/hypr/conf/monitor.conf ] && [ -d ~/dotfiles/hypr/conf/monitors/ ]; then
echo "Monitor settings could already be restored".
echo ""
else
echo "Hyprland will use the following monitor setup from ~/dotfiles/hypr/conf/monitors/default.conf"
echo "monitor=,preferred,auto,1"
echo ""
echo "You can create your own monitor configuration by adding a new variation file ~/dotfiles/hypr/conf/monitors/mymonitor.conf"
echo "Add there your monitor configuration."
echo ""
echo "After starting Hyprland, you can select your custom monitor variation with SUPER+CMD+S (or by clicking on the settings icon in WayBar)."
echo "Select Monitors and then your custom monitor variation: ~/dotfiles/hypr/conf/monitors/mymonitor.conf"
echo ""
echo "Or overwrite the path on ~/dotfiles/hypr/conf/monitor.com and replace it with your custom variation."
echo ""
echo "More information on how to setup your monitor in the Hyprland Wiki: https://wiki.hyprland.org/Configuring/Monitors/"
echo ""
fi
fi

View File

@ -19,10 +19,10 @@ _showRestoreOptions() {
if [ -f ~/dotfiles/hypr/conf/keybindings.conf ]; then
restorelist+="~/dotfiles/hypr/conf/keybindings.conf "
fi
if [ -f ~/dotfiles/hypr/conf/monitor.conf ] && [ -d ~/dotfiles/hypr/conf/monitor/ ]; then
if [ -f ~/dotfiles/hypr/conf/monitor.conf ] && [ -d ~/dotfiles/hypr/conf/monitors/ ]; then
restorelist+="~/dotfiles/hypr/conf/monitor.conf "
fi
if [ -f ~/dotfiles/hypr/conf/animation.conf ] && [ -d ~/dotfiles/hypr/conf/animation/ ]; then
if [ -f ~/dotfiles/hypr/conf/animation.conf ] && [ -d ~/dotfiles/hypr/conf/animations/ ]; then
restorelist+="~/dotfiles/hypr/conf/animation.conf "
fi
if [ -f ~/dotfiles/hypr/conf/decoration.conf ] && [ -d ~/dotfiles/hypr/conf/decorations/ ]; then

View File

@ -60,4 +60,5 @@ if [[ $profile == *"Qtile"* ]]; then
source .install/qtile-dotfiles.sh
fi
source .install/bashrc.sh
source .install/monitor.sh
source .install/done.sh