mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 10:45:39 +03:00
Update README.md
Table of content. Script for running flatpak version from terminal (issue #193).
This commit is contained in:
parent
57d7aff03c
commit
08fdb6fff9
32
README.md
32
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
|
||||
=================
|
||||
<!--ts-->
|
||||
* [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)
|
||||
<!--te-->
|
||||
|
||||
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
|
||||
-----------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user