Files
GridSnap/install.sh
2026-01-16 01:34:29 +00:00

35 lines
953 B
Bash
Executable File

#!/bin/bash
# GridSnap for Cinnamon - Installation Script
EXTENSION_UUID="gridsnap@cinnamon-extension"
INSTALL_DIR="$HOME/.local/share/cinnamon/extensions/$EXTENSION_UUID"
echo "Installing GridSnap for Cinnamon..."
# Create extensions directory if it doesn't exist
mkdir -p "$HOME/.local/share/cinnamon/extensions"
# Copy extension files
echo "Copying extension files..."
cp -r . "$INSTALL_DIR"
# Remove the install script from the installed version
rm -f "$INSTALL_DIR/install.sh"
echo ""
echo "Installation complete!"
echo ""
echo "To enable the extension:"
echo "1. Restart Cinnamon (Alt+F2, type 'r', press Enter)"
echo " OR log out and back in"
echo "2. Open System Settings → Extensions"
echo "3. Find 'GridSnap' and toggle it on"
echo ""
echo "Keyboard shortcuts:"
echo " Super+Z : Show/hide zones"
echo " Super+Shift+Z : Cycle layouts"
echo " Super+Numpad1-9 : Snap to zone"
echo ""
echo "Enjoy your new window manager!"