diff --git a/README.md b/README.md index 19328649..7db471a1 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ Gittyup is a continuation of the [GitAhead](https://github.com/gitahead/gitahead ![Gittyup](https://raw.githubusercontent.com/Murmele/Gittyup/master/rsrc/screenshots/main_dark_orig.png) +Table of contents +================= + + * [Features](#features) + * [How to Get Help](#how-to-get-help) + * [Build Environment](#build-environment) + * [Dependencies](#dependencies) + * [How to Build](#how-to-build) + * [How to Install](#how-to-install) + * [Flatpak from terminal](#flatpak-from-terminal) + * [How to Contribute](#how-to-contribute) + * [License](#license) + + Features --------------- To get an overview of the current features please have a look at the [GitHub Page](https://murmele.github.io/Gittyup/) @@ -124,6 +138,24 @@ Install the `gittyup` package from the Arch User Repository. Or use an AUR helper. Install `gittyup-git` for the VCS build. +### Flatpak from terminal + +If you want a more pure console use, this script run flatpak version disowning the process and silence the output pushing it to /dev/null. +Just save the script somewhere in your path, for example `/usr/bin` (or `~/.local/bin` if you have exported it), give execution permissions `chmod +x`, and run `gittyup` from your terminal. + +```bash +#!/bin/bash +DIR=$(dirname "${BASH_SOURCE[0]}") +function run_disown() { + "$@" & disown +} +function run_disown_silence(){ + run_disown "$@" 1>/dev/null 2>/dev/null +} +run_disown_silence flatpak run com.github.Murmele.Gittyup +``` + + How to Contribute -----------------