tony / oxwm

Branch: a4a6486
Switch branches/tags
master
tonybtw converted keycodes to keysyms for international support, with 0 performance hit, fixed fullscreen behaviour to actually work as intended (toggle globally), fixed issue where dragging a window from monitor 1 to monitor 2, and then retiling it would tile it back to monitor 1, fixed bug where gentleman from discord was reporting he couldnt exit insert mode in vim, added support for increasing brightness and audio. c15cb28 2025-11-03
38 lines · 1.1 KB Raw Blame History
1 # Maintainer: Tony, btw <tony@tonybtw.com>
2 pkgname='oxwm-git'
3 _pkgname='oxwm'
4 pkgver=0.4.0.177.g6dc200c
5 pkgrel=1
6 arch=('x86_64')
7 url="https://github.com/tonybanters/oxwm"
8 pkgdesc="DWM but better with sane defaults, and not suckless."
9 license=('GPL-3.0-or-later')
10 depends=('libx11' 'libxft' 'libxcb' 'fontconfig' 'freetype2' 'libxrender')
11 makedepends=('cargo' 'git')
12 provides=('oxwm')
13 conflicts=('oxwm')
14 source=("$_pkgname::git+https://github.com/tonybanters/oxwm.git")
15 sha256sums=('SKIP')
16
17 pkgver() {
18 cd $_pkgname
19 echo "$(grep '^version =' Cargo.toml | head -n1 | cut -d\" -f2).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
20 }
21
22 build() {
23 cd $_pkgname
24 cargo build --release --locked
25 }
26
27 check() {
28 cd $_pkgname
29 cargo test --release
30 }
31
32 package() {
33 cd $_pkgname
34 install -Dm755 "target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
35 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36 install -Dm644 resources/oxwm.desktop "$pkgdir/usr/share/xsessions/oxwm.desktop"
37 install -Dm644 resources/oxwm.1 "$pkgdir/usr/share/man/man1/oxwm.1"
38 }