structure

This commit is contained in:
2025-07-12 14:57:47 +03:00
parent 8e0c4f9a70
commit 63c597d2e3
6 changed files with 17 additions and 5 deletions

View File

@@ -16,32 +16,43 @@ if [ -f ~/.config/sway/config ]; then
cp ~/.config/sway/config ~/.config/sway/config.backup cp ~/.config/sway/config ~/.config/sway/config.backup
fi fi
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# === MAKO CONFIG ===
# Create mako config directory
mkdir -p ~/.config/mako
echo "✓ Created ~/.config/mako directory"
echo ""
echo "Installing mako config..."
cp $SCRIPT_DIR/home_dotfiles/.config/mako/config ~/.config/mako/config
echo "✓ mako config installed to ~/.config/mako/config"
# === SWAY CONFIG === # === SWAY CONFIG ===
# Comment out this section if you don't want to install the main config # Comment out this section if you don't want to install the main config
echo "" echo ""
echo "Installing main Sway config..." echo "Installing main Sway config..."
cp config ~/.config/sway/config cp $SCRIPT_DIR/home_dotfiles/.config/sway/config ~/.config/sway/config
echo "✓ Sway config installed to ~/.config/sway/config" echo "✓ Sway config installed to ~/.config/sway/config"
# === I3STATUS-RUST CONFIG === # === I3STATUS-RUST CONFIG ===
# Comment out this section if you don't want i3status-rust # Comment out this section if you don't want i3status-rust
echo "" echo ""
echo "Installing i3status-rust config..." echo "Installing i3status-rust config..."
cp i3status-rust.toml ~/.config/sway/i3status-rust.toml cp $SCRIPT_DIR/home_dotfiles/.config/sway/i3status-rust.toml ~/.config/sway/i3status-rust.toml
echo "✓ i3status-rust config installed to ~/.config/sway/i3status-rust.toml" echo "✓ i3status-rust config installed to ~/.config/sway/i3status-rust.toml"
# === WEATHER SCRIPT === # === WEATHER SCRIPT ===
# Comment out this section if you don't want the weather script # Comment out this section if you don't want the weather script
echo "" echo ""
echo "Installing weather script..." echo "Installing weather script..."
cp weather-sway.sh ~/.config/sway/weather-sway.sh cp $SCRIPT_DIR/home_dotfiles/.config/sway/weather-sway.sh ~/.config/sway/weather-sway.sh
chmod +x ~/.config/sway/weather-sway.sh chmod +x ~/.config/sway/weather-sway.sh
echo "✓ Weather script installed to ~/.config/sway/weather-sway.sh" echo "✓ Weather script installed to ~/.config/sway/weather-sway.sh"
# === BLUETOOTH SCRIPT === # === BLUETOOTH SCRIPT ===
echo "" echo ""
echo "Installing bluetooth script..." echo "Installing bluetooth script..."
cp bluetooth-sway.sh ~/.config/sway/bluetooth-sway.sh cp $SCRIPT_DIR/home_dotfiles/.config/sway/bluetooth-sway.sh ~/.config/sway/bluetooth-sway.sh
chmod +x ~/.config/sway/bluetooth-sway.sh chmod +x ~/.config/sway/bluetooth-sway.sh
echo "✓ Bluetooth script installed to ~/.config/sway/bluetooth-sway.sh" echo "✓ Bluetooth script installed to ~/.config/sway/bluetooth-sway.sh"
@@ -50,7 +61,7 @@ echo "✓ Bluetooth script installed to ~/.config/sway/bluetooth-sway.sh"
if [ -f volume-notify-sway.sh ]; then if [ -f volume-notify-sway.sh ]; then
echo "" echo ""
echo "Installing volume notify script..." echo "Installing volume notify script..."
cp volume-notify-sway.sh ~/.config/sway/volume-notify-sway.sh cp $SCRIPT_DIR/home_dotfiles/.config/sway/volume-notify-sway.sh ~/.config/sway/volume-notify-sway.sh
chmod +x ~/.config/sway/volume-notify-sway.sh chmod +x ~/.config/sway/volume-notify-sway.sh
echo "✓ Volume notify script installed to ~/.config/sway/volume-notify-sway.sh" echo "✓ Volume notify script installed to ~/.config/sway/volume-notify-sway.sh"
else else
@@ -69,6 +80,7 @@ echo "2. Log out and select Sway from your display manager"
echo "3. Or start Sway from TTY with: sway" echo "3. Or start Sway from TTY with: sway"
echo "" echo ""
echo "Config files installed:" echo "Config files installed:"
echo "- ~/.config/mako/config (notification styling)"
echo "- ~/.config/sway/config (main Sway config)" echo "- ~/.config/sway/config (main Sway config)"
echo "- ~/.config/sway/i3status-rust.toml (status bar config)" echo "- ~/.config/sway/i3status-rust.toml (status bar config)"
echo "- ~/.config/sway/weather-sway.sh (weather script)" echo "- ~/.config/sway/weather-sway.sh (weather script)"