Not for normies
| 1 | #!/bin/bash |
| 2 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # |
| 3 | # A bash script designed to run only once dotfiles installed |
| 4 | |
| 5 | # THIS SCRIPT CAN BE DELETED ONCE SUCCESSFULLY BOOTED!! And also, edit ~/.config/hypr/configs/Settings.conf |
| 6 | # NOT necessary to do since this script is only designed to run only once as long as the marker exists |
| 7 | # marker file is located at ~/.config/hypr/.initial_startup_done |
| 8 | # However, I do highly suggest not to touch it since again, as long as the marker exist, script wont run |
| 9 | |
| 10 | # Variables |
| 11 | scriptsDir=/.config/hypr/scripts |
| 12 | wallpaper=/.config/hypr/wallpaper_effects/.wallpaper_current |
| 13 | waybar_style="/.config/waybar/style/[Extra] Modern-Combined - Transparent.css" |
| 14 | kvantum_theme="catppuccin-mocha-blue" |
| 15 | color_scheme="prefer-dark" |
| 16 | gtk_theme="Flat-Remix-GTK-Blue-Dark" |
| 17 | icon_theme="Flat-Remix-Blue-Dark" |
| 18 | cursor_theme="Bibata-Modern-Ice" |
| 19 | |
| 20 | swww="swww img" |
| 21 | effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2" |
| 22 | |
| 23 | # Check if a marker file exists. |
| 24 | if [; then |
| 25 | |
| 26 | # Initialize wallust and wallpaper |
| 27 | if [; then |
| 28 | |
| 29 | || && |
| 30 | & |
| 31 | fi |
| 32 | |
| 33 | # initiate GTK dark mode and apply icon and cursor theme |
| 34 | & |
| 35 | & |
| 36 | & |
| 37 | & |
| 38 | & |
| 39 | |
| 40 | # NIXOS initiate GTK dark mode and apply icon and cursor theme |
| 41 | if [; then |
| 42 | & |
| 43 | & |
| 44 | & |
| 45 | & |
| 46 | & |
| 47 | fi |
| 48 | |
| 49 | # initiate kvantum theme |
| 50 | & |
| 51 | |
| 52 | # initiate the kb_layout (for some reason) waybar cant launch it |
| 53 | & |
| 54 | |
| 55 | # waybar style |
| 56 | #if [ -L "$HOME/.config/waybar/config" ]; then |
| 57 | ## ln -sf "$waybar_style" "$HOME/.config/waybar/style.css" |
| 58 | # "$scriptsDir/Refresh.sh" > /dev/null 2>&1 & |
| 59 | #fi |
| 60 | |
| 61 | |
| 62 | # Create a marker file to indicate that the script has been executed. |
| 63 | |
| 64 | |
| 65 | |
| 66 | fi |