Compare commits
6 Commits
6f37bcb081
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0768f4674e | |||
| 7141abfa52 | |||
| d2af2531d0 | |||
| f4b45b4c10 | |||
| 9af491064e | |||
| 48b1d0be03 |
59
.github/workflows/build.yml
vendored
Normal file
59
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: ubuntu-latest
|
||||||
|
output: confy-linux
|
||||||
|
- os: macos-latest
|
||||||
|
output: confy-macos
|
||||||
|
- os: windows-latest
|
||||||
|
output: confy-windows.exe
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: set up python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.13'
|
||||||
|
|
||||||
|
- name: install pyinstaller
|
||||||
|
run: pip install pyinstaller
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
run: pyinstaller --onefile main.py --name ${{ matrix.output }}
|
||||||
|
|
||||||
|
- name: get release upload url
|
||||||
|
id: get_release
|
||||||
|
uses: actions/github-script@v7
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const release = await github.rest.repos.getReleaseByTag({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
tag: context.ref.replace('refs/tags/', '')
|
||||||
|
});
|
||||||
|
return release.data.upload_url;
|
||||||
|
result-encoding: string
|
||||||
|
|
||||||
|
- name: upload binary
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.get_release.outputs.result }}
|
||||||
|
asset_path: dist/${{ matrix.output }}
|
||||||
|
asset_name: ${{ matrix.output }}
|
||||||
|
asset_content_type: application/octet-stream
|
||||||
34
README.md
34
README.md
@ -1,10 +1,14 @@
|
|||||||
# confy
|
<p align="center">
|
||||||
|
<img src="confy-logo.png" alt="confy logo" width="256">
|
||||||
|
</p>
|
||||||
|
|
||||||
a config manager for linux/unix based systems including macos (unix) and windows.
|
<h1 align="center">confy</h1>
|
||||||
|
|
||||||
simple tui for keeping track of all your config files in one place. no more hunting through ~/.config.
|
<p align="center">a config manager for linux/unix based systems including macos (unix) and windows.</p>
|
||||||
|
|
||||||

|
<p align="center">simple tui for keeping track of all your config files in one place. no more hunting through ~/.config.</p>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## features
|
## features
|
||||||
|
|
||||||
@ -24,13 +28,11 @@ simple tui for keeping track of all your config files in one place. no more hunt
|
|||||||
## installation
|
## installation
|
||||||
|
|
||||||
### from AUR (arch linux)
|
### from AUR (arch linux)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yay -S confy-tui
|
yay -S confy-tui
|
||||||
```
|
```
|
||||||
|
|
||||||
### manual install
|
### manual install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://gitlab.com/phluxjr/confy.git
|
git clone https://gitlab.com/phluxjr/confy.git
|
||||||
cd confy
|
cd confy
|
||||||
@ -100,7 +102,6 @@ rollback can be disabled in config.json:
|
|||||||
### colors
|
### colors
|
||||||
|
|
||||||
customize colors in `~/.config/confy/config.json` under `settings.colors`. values can be named colors or hex codes:
|
customize colors in `~/.config/confy/config.json` under `settings.colors`. values can be named colors or hex codes:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"settings": {
|
"settings": {
|
||||||
"colors": {
|
"colors": {
|
||||||
@ -163,7 +164,6 @@ organize related configs into groups, search through everything, sort however yo
|
|||||||
simple, fast, does one thing well.
|
simple, fast, does one thing well.
|
||||||
|
|
||||||
## examples
|
## examples
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# start confy
|
# start confy
|
||||||
confy
|
confy
|
||||||
@ -209,17 +209,17 @@ on windows, change the config directory to where you keep your configs:
|
|||||||
# navigate to C:\Users\YourName\AppData\Local or wherever
|
# navigate to C:\Users\YourName\AppData\Local or wherever
|
||||||
```
|
```
|
||||||
|
|
||||||
## license
|
---
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<strong>copyright © 2025-2026 phluxjr</strong><br>
|
||||||
GPL-3.0-or-later
|
GPL-3.0-or-later
|
||||||
|
</p>
|
||||||
|
|
||||||
## contributing
|
<p align="center">
|
||||||
|
|
||||||
prs welcome! this is a simple tool but if you have ideas for improvements, open an issue or submit a pr.
|
prs welcome! this is a simple tool but if you have ideas for improvements, open an issue or submit a pr.
|
||||||
|
</p>
|
||||||
|
|
||||||
## man page
|
<p align="center">
|
||||||
|
<em>man page included - <code>man confy</code> after install</em>
|
||||||
a man page is included. after installing via AUR it's available automatically:
|
</p>
|
||||||
```bash
|
|
||||||
man confy
|
|
||||||
```
|
|
||||||
|
|||||||
BIN
confy-logo.png
Normal file
BIN
confy-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
Reference in New Issue
Block a user