docs(readme): document compact mode and add screenshot #12
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release & AUR Update | |
| on: | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| environment: main | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Extract version | |
| id: get_version | |
| run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT | |
| - name: Generate changelog | |
| id: changelog | |
| run: | | |
| # Get the previous tag | |
| PREV_TAG=$(git describe --tags --abbrev=0 ${{ github.ref }}^ 2>/dev/null || echo "") | |
| if [ -z "$PREV_TAG" ]; then | |
| # If no previous tag, get all commits | |
| CHANGELOG=$(git log --pretty=format:"- %s" ${{ github.ref }}) | |
| else | |
| # Get commits between previous tag and current tag | |
| CHANGELOG=$(git log --pretty=format:"- %s" $PREV_TAG..${{ github.ref }}) | |
| fi | |
| # Clean up the changelog | |
| CHANGELOG=$(echo "$CHANGELOG" | grep -v "chore:" | grep -v "ci:" | grep -v "docs:") | |
| echo "changelog<<EOF" >> $GITHUB_OUTPUT | |
| echo "$CHANGELOG" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Generate release description | |
| id: release_description | |
| run: | | |
| # Extract installation section from README | |
| INSTALL_SECTION=$(sed -n '/<h1 id="installation">Installation<\/h1>/,/<\/details>/p' README.md) | |
| cat > release_body.md << EOF | |
| # π Clipse GUI v${{ steps.get_version.outputs.version }} | |
| A GTK3 graphical user interface for the excellent [clipse](https://github.com/savedra1/clipse) command-line clipboard manager. | |
| ## β¨ Features | |
| ### π― Core Functionality | |
| - π View text and image entries from clipboard history | |
| - π Fuzzy search with instant results | |
| - π Pin important items | |
| - πΌοΈ Image support with previews | |
| - π Copy items back to system clipboard | |
| - β¨οΈ Keyboard shortcuts for power users | |
| ### π¨ UI/UX | |
| - π― Compact mode for minimal footprint | |
| - π Real-time updates | |
| - π± Responsive and adaptive layout | |
| ### β‘ Performance | |
| - π Lazy loading for better performance | |
| - πΎ Efficient memory usage | |
| - π Incremental history loading | |
| - π― Optimized image handling | |
| ## Installation | |
| $INSTALL_SECTION | |
| ## π§ Configuration | |
| Configuration file: \`~/.config/clipse-gui/settings.ini\` | |
| ## π Changelog | |
| ${{ steps.changelog.outputs.changelog }} | |
| ## π€ Contributing | |
| Contributions are welcome! Please feel free to submit a Pull Request. | |
| ## π License | |
| This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. | |
| EOF | |
| DESCRIPTION=$(cat release_body.md) | |
| echo "description<<EOF" >> $GITHUB_OUTPUT | |
| echo "$DESCRIPTION" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ github.ref }} | |
| name: "Release v${{ steps.get_version.outputs.version }}" | |
| body: ${{ steps.release_description.outputs.description }} | |
| generate_release_notes: true | |
| draft: false | |
| prerelease: false |