Add monitor settings information
This commit is contained in:
parent
5cefe3a3c8
commit
3cfec061ca
@ -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
34
.install/monitor.sh
Normal 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
|
@ -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
|
||||
@ -125,4 +125,4 @@ echo -e "${NONE}"
|
||||
_showRestoreOptions
|
||||
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user