v0.26.2 3cd9d2e

PKGBUILD RawHistoryFolder

1# Maintainer: bnema <b at bnema dot dev>
2pkgname=dumber-browser-git
3pkgver=0.23.1.r0.g6c872d5
4pkgrel=1
5pkgdesc="A minimal keyboard-driven browser for tiling WMs (git version)"
6arch=('x86_64')
7url="https://github.com/bnema/dumber"
8license=('MIT')
9makedepends=('go>=1.25' 'npm' 'git')
10depends=('gtk4' 'webkitgtk-6.0')
11optdepends=(
12    'gst-plugins-base: Base media codecs'
13    'gst-plugins-good: Additional media codecs'
14    'gst-plugins-bad: Extended media codecs'
15    'gst-plugins-ugly: Patented media codecs'
16    'gst-libav: FFmpeg-based codecs'
17    'gst-plugin-pipewire: PipeWire audio support'
18    'gst-plugin-va: Hardware video decoding (VA-API stateless decoders)'
19    'pipewire: Audio/video routing'
20    'pipewire-pulse: PulseAudio replacement'
21    'mesa: VA-API driver for AMD GPUs'
22    'libva-nvidia-driver: VA-API driver for NVIDIA GPUs'
23    'libva-intel-driver: VA-API driver for older Intel GPUs'
24    'intel-media-driver: VA-API driver for newer Intel GPUs (Broadwell+)'
25)
26provides=('dumber-browser' 'dumber')
27conflicts=('dumber-browser' 'dumber-browser-bin')
28source=("git+https://github.com/bnema/dumber.git")
29sha256sums=('SKIP')
30
31pkgver() {
32    cd dumber
33    git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || echo "0.0.0.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
34}
35
36build() {
37    cd dumber
38    export CGO_ENABLED=0
39    export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
40    make build
41}
42
43package() {
44    cd dumber
45    install -Dm755 dist/dumber "${pkgdir}/usr/bin/dumber"
46    install -Dm644 flatpak/dev.bnema.Dumber.desktop "${pkgdir}/usr/share/applications/dev.bnema.Dumber.desktop"
47    install -Dm644 assets/logo-512.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/dev.bnema.Dumber.png"
48    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
49}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close