aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-24 20:34:42 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-24 21:54:46 +0530
commitac003a6e8c936169fcf2d9b3535fdb5a8d155411 (patch)
treecfc4236296ef3a0d0fb66623d006c4c3ecb58b74
parentff0daf7c5edb92e9e2361e9985996725bade9a85 (diff)
downloaddaffm-ac003a6e8c936169fcf2d9b3535fdb5a8d155411.tar.gz
daffm-ac003a6e8c936169fcf2d9b3535fdb5a8d155411.zip
Create release.yml gh action workflow + update brickv0.1.0
-rw-r--r--.github/workflows/release.yml25
-rw-r--r--README.md12
-rw-r--r--daffm.cabal2
3 files changed, 34 insertions, 5 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..a16b56e
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,25 @@
+name: Release
+
+on: workflow_dispatch
+
+permissions:
+ contents: write
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: haskell-actions/setup@v2
+ with:
+ ghc-version: '8.8'
+ cabal-version: '3.0.0.0'
+ cabal-update: true
+ - name: Build tarball
+ run: make dist
+ - name: Release
+ uses: softprops/action-gh-release@v2
+ with:
+ draft: fales
+ overwrite_files: false
+ files: daffm.tar.gz
diff --git a/README.md b/README.md
index cf9bb07..026a1ff 100644
--- a/README.md
+++ b/README.md
@@ -1,20 +1,24 @@
# Daffm
Dumb as fuck file manager is a minimal tui file manager with the goal of not being a file manager.
-At its core, it only provides a directory browser, providing ways to conviniently run shell commands to manage your files via keybinds and command line input.
+
+At its core, it comes with a directory browser, providing ways to run commands to manage your files via keybinds and command line input. So this way you can get that good feeling in your crotch for following the unix philosophy.
+
![screenshot](./media/screenshot.jpg)
## Install
### Nix users
- This repo can be installed as a nix flake: `github:phenax/daffm#daffm`
- OR clone the repo and build it: `nix build`
-### Normals (requires cabal)
+### Normals (tarball)
+- Linux: download and install a tarball from [releases](https://github.com/phenax/daffm/releases)
+### Normals (build it yourself. Requires cabal)
- Clone the repo
-- `make install` to install it on your system (installs in `/usr/local` by default)
+- `make install` to build and install it on your system (installs in `/usr/local` by default)
- OR `make PREFIX=/install/path install` to install it inside `/install/path` directory
- `make uninstall` to uninstall it
## Usage
-Run `man daffm` to see the manual -> [./docs/daffm.md](./docs/daffm.md)
+Run `man daffm` to see the manual. Markdown version: [./docs/daffm.md](./docs/daffm.md)
## Config
diff --git a/daffm.cabal b/daffm.cabal
index 1a4cbdb..41d1077 100644
--- a/daffm.cabal
+++ b/daffm.cabal
@@ -32,7 +32,7 @@ common common-config
build-depends:
array,
base,
- brick == 2.4,
+ brick == 2.10,
tomland <= 1.3.3.3,
containers <= 0.8,
data-default <= 0.8.0.1,