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
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 ===
# Comment out this section if you don't want to install the main config
echo ""
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"
# === I3STATUS-RUST CONFIG ===
# Comment out this section if you don't want i3status-rust
echo ""
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"
# === WEATHER SCRIPT ===
# Comment out this section if you don't want the weather script
echo ""
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
echo "✓ Weather script installed to ~/.config/sway/weather-sway.sh"
# === BLUETOOTH SCRIPT ===
echo ""
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
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
echo ""
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
echo "✓ Volume notify script installed to ~/.config/sway/volume-notify-sway.sh"
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 ""
echo "Config files installed:"
echo "- ~/.config/mako/config (notification styling)"
echo "- ~/.config/sway/config (main Sway config)"
echo "- ~/.config/sway/i3status-rust.toml (status bar config)"
echo "- ~/.config/sway/weather-sway.sh (weather script)"