Initial commit - GridSnap Cinnamon Extension
This commit is contained in:
34
install.sh
Executable file
34
install.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/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!"
|
||||
Reference in New Issue
Block a user