mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+sketchybar+yabai
these look cool; not sure i've got them 100% working, but with proper config these should work
This commit is contained in:
parent
2dc3200dc1
commit
c156c69e3b
2 changed files with 58 additions and 0 deletions
34
projects/felixkratz.github.io/SketchyBar/package.yml
Normal file
34
projects/felixkratz.github.io/SketchyBar/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
distributable:
|
||||
url: https://github.com/FelixKratz/SketchyBar/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: FelixKratz/SketchyBar
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
dependencies:
|
||||
github.com/koekeishiya/yabai: '*'
|
||||
|
||||
build:
|
||||
script:
|
||||
- make $ARCH
|
||||
- install -D bin/sketchybar {{prefix}}/bin/sketchybar
|
||||
- install -D sketchybarrc {{prefix}}/etc/sketchybarrc.example
|
||||
# unquoted variable in battery.sh
|
||||
- run: sed -i -e 's/\[ \$PERCENTAGE /[ "$PERCENTAGE" /' battery.sh
|
||||
working-directory: plugins
|
||||
- cp -a plugins {{prefix}}/etc
|
||||
env:
|
||||
darwin/aarch64:
|
||||
ARCH: arm64
|
||||
darwin/x86-64:
|
||||
ARCH: x64
|
||||
|
||||
provides:
|
||||
- bin/sketchybar
|
||||
|
||||
test:
|
||||
- sketchybar --help
|
||||
- test "$(sketchybar --version)" = "sketchybar-v{{version}}"
|
24
projects/github.com/koekeishiya/yabai/package.yml
Normal file
24
projects/github.com/koekeishiya/yabai/package.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
distributable:
|
||||
url: https://github.com/koekeishiya/yabai/archive/refs/tags/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: koekeishiya/yabai
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
build:
|
||||
# dependencies:
|
||||
# apple.com/xcode: >=11
|
||||
script:
|
||||
- make
|
||||
- install -D bin/yabai {{prefix}}/bin/yabai
|
||||
- install -D doc/yabai.1 {{prefix}}/man/man1/yabai.1
|
||||
|
||||
provides:
|
||||
- bin/yabai
|
||||
|
||||
test:
|
||||
- yabai --help
|
||||
- test "$(yabai --version)" = "yabai-v{{version}}"
|
Loading…
Reference in a new issue