From f05d804de7b816e45e4fb5587ecb754bd175a87a Mon Sep 17 00:00:00 2001 From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:44:29 +0200 Subject: [PATCH] Update install.sh --- install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index bf2fbf3..836e1a3 100644 --- a/install.sh +++ b/install.sh @@ -192,7 +192,7 @@ echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove echo 'bind '"'"'"\C-f":"open "$(fzf)"\n"'"'" >> ~/.bashrc # Make some directories for later use -mkdir -p ~/.local/src ~/.local/bin ~/.fonts ~/Wallpapers +mkdir -p ~/.local/src ~/.local/bin # # # # # Config folders & files @@ -504,9 +504,15 @@ bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10% bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%- # Lockdown / Screenlock -bind = , XF86Lock, exec, swaylock -f -L -e -c 000000 --indicator-radius 250 --indicator-thickness 6 +bind = , XF86Lock, exec, swaylock -f -L -e -c 000000 --indicator-radius 250 --indicator-thickness 6 -i $(find $HOME/Wallpapers -type f | shuf -n 1) bind = $mainMod, l, exec, swaylock -f -L -e -c 000000 --indicator-radius 250 --indicator-thickness 6 -i $(find $HOME/Wallpapers -type f | shuf -n 1) +# List out switches via "hyprctl devices" +#bindl=,switch:,exec, + +# Switch Example, closing the lid on the laptop will turn off the laptop screen +#bindl=,switch:, exec, sleep 1 && hyprctl dispatch dpms off eDP-1 + # Open Programs @@ -1601,8 +1607,7 @@ echo -e "${GREEN}Kitty config file END${NC}" echo "$USER ALL=(ALL) NOPASSWD: /sbin/shutdown now, /sbin/reboot" | sudo tee /etc/sudoers.d/$USER && sudo visudo -c -f /etc/sudoers.d/$USER -echo -e "${GREEN}Wallpapers${NC}" - +# Wallpapers if [ ! -d ~/Wallpapers ]; then mkdir -p ~/Wallpapers wget -O ~/Wallpapers/default_wallpaper.jpg https://github.com/ITmail-dk/qmade/blob/main/default_wallpaper_by_natalia-y_on_unsplash.jpg?raw=true @@ -1611,11 +1616,6 @@ else echo "Wallpapers folder already exists." fi -#if [ -f ~/.fehbg ]; then -# . ~/.fehbg -#else -# feh --bg-scale ~/Wallpapers/default_wallpaper.jpg -#fi echo -e "${YELLOW} auto-new-wallpaper-and-colors BIN START ${NC}" sudo bash -c 'cat << "AUTONEWWALLPAPERANDCOLORSBIN" >> /usr/local/bin/auto-new-wallpaper-and-colors