#!/bin/bash # HyprFlux — https://github.com/ahmad9059/HyprFlux # A bash script designed to run only once dotfiles installed # THIS SCRIPT CAN BE DELETED ONCE SUCCESSFULLY BOOTED!! And also, edit ~/.config/hypr/configs/Settings.conf # NOT necessary to do since this script is only designed to run only once as long as the marker exists # marker file is located at ~/.config/hypr/.initial_startup_done # However, I do highly suggest not to touch it since again, as long as the marker exist, script wont run # Variables scriptsDir=$HOME/.config/hypr/scripts kvantum_theme="catppuccin-mocha-blue" color_scheme="prefer-dark" gtk_theme="Material-DeepOcean-BL" icon_theme="Papirus-Dark" cursor_theme="Moga-Cursor" # Check if a marker file exists. if [ ! -f "$HOME/.config/hypr/.initial_startup_done" ]; then sleep 1 # initiate GTK dark mode and apply icon and cursor theme gsettings set org.gnome.desktop.interface color-scheme $color_scheme >/dev/null 2>&1 & gsettings set org.gnome.desktop.interface gtk-theme $gtk_theme >/dev/null 2>&1 & gsettings set org.gnome.desktop.interface icon-theme $icon_theme >/dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-theme $cursor_theme >/dev/null 2>&1 & gsettings set org.gnome.desktop.interface cursor-size 24 >/dev/null 2>&1 & # waybar style #if [ -L "$HOME/.config/waybar/config" ]; then ## ln -sf "$waybar_style" "$HOME/.config/waybar/style.css" # "$scriptsDir/Refresh.sh" > /dev/null 2>&1 & #fi # Create a marker file to indicate that the script has been executed. touch "$HOME/.config/hypr/.initial_startup_done" exit fi