2 Commits

5 changed files with 88 additions and 11 deletions

View File

@@ -143,6 +143,10 @@ mkdir -p $XDG_DATA_HOME/applications/icons
copy_files $DEV_ENV/env/.local/share/applications $XDG_DATA_HOME/applications copy_files $DEV_ENV/env/.local/share/applications $XDG_DATA_HOME/applications
copy_files $DEV_ENV/env/.local/share/applications/icons $XDG_DATA_HOME/applications/icons copy_files $DEV_ENV/env/.local/share/applications/icons $XDG_DATA_HOME/applications/icons
# Custom package builds.
mkdir $HOME/pkgbuilds
update_dirs $DEV_ENV/env/pkgbuilds $HOME/pkgbuilds
if [[ $dry_run == "0" ]]; then if [[ $dry_run == "0" ]]; then
systemctl --user daemon-reload systemctl --user daemon-reload
hyprctl reload hyprctl reload

View File

@@ -16,7 +16,7 @@
log-layer-changes no log-layer-changes no
danger-enable-cmd yes danger-enable-cmd yes
concurrent-tap-hold yes concurrent-tap-hold yes
rapid-event-delay 3 rapid-event-delay 10
allow-hardware-repeat false allow-hardware-repeat false
;; When any non-chord activation happens, this timeout begins. Until this timeout expires ;; When any non-chord activation happens, this timeout begins. Until this timeout expires
@@ -67,12 +67,12 @@
mretu (tap-hold $tap-time $hold-time tab ret) mretu (tap-hold $tap-time $hold-time tab ret)
;; number and symbols layer trigger keys. ;; number and symbols layer trigger keys.
mlnums (tap-hold-press $tap-time-plus $hold-time-plus esc (layer-while-held nums_and_symbols)) mlnums (tap-hold-press $tap-time-plus $hold-time-plus lmet (layer-while-held nums_and_symbols))
mrnums (tap-hold-press $tap-time-plus $hold-time-plus ret (layer-while-held nums_and_symbols)) mrnums (tap-hold-press $tap-time-plus $hold-time-plus rmet (layer-while-held nums_and_symbols))
;; mouse layer trigger keys. ;; mouse layer trigger keys.
mlms (tap-hold-press $tap-time $hold-time lsft (layer-while-held mouse)) mlms (tap-hold-press $tap-time $hold-time esc (layer-while-held mouse))
mrms (tap-hold-press $tap-time $hold-time rsft (layer-while-held mouse)) mrms (tap-hold-press $tap-time $hold-time ret (layer-while-held mouse))
;; Multi ;; Multi
mhypr (tap-hold $tap-time $hold-time spc (multi lsft lctl lalt lmet)) ;; Hyper key mhypr (tap-hold $tap-time $hold-time spc (multi lsft lctl lalt lmet)) ;; Hyper key
@@ -109,16 +109,16 @@
esc brdn bru XX XX XX XX XX XX XX mute vold volu esc brdn bru XX XX XX XX XX XX XX mute vold volu
grv 1 2 3 4 5 6 7 8 9 0 - = bspc grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \ tab q w e r t y u i o p [ ] \
@mlnums @mlctl @mlalt @mlmet @mlsft g h @mrsft @mrmet @mralt @mrctl ' @mrnums @mlms @mlctl @mlalt @mlmet @mlsft g h @mrsft @mrmet @mralt @mrctl ' @mrms
@mlms z x c v b n m , . / ▲ @mrms lsft z x c v b n m , . / ▲ rsft
lctl lalt lmet spc rmet ralt ◀ ▼ ▶ lctl lalt @mlnums spc @mrnums ralt ◀ ▼ ▶
) )
;; Number and Symbols layer ;; Number and Symbols layer
(deflayer nums_and_symbols (deflayer nums_and_symbols
esc XX XX XX XX XX XX XX XX XX XX XX XX esc XX XX XX XX XX XX XX XX XX XX XX XX
grv XX XX XX XX XX XX XX XX XX XX - = bspc S-grv XX XX XX XX XX XX XX XX XX XX - = bspc
S-grv S-1 S-9 S-0 S-2 XX XX 1 2 3 \ XX XX XX grv S-1 S-9 S-0 S-2 XX XX 1 2 3 \ XX XX XX
XX [ ] S-[ S-] XX XX 4 5 6 . XX ret XX [ ] S-[ S-] XX XX 4 5 6 . XX ret
lsft S-7 S-8 S-4 S-3 XX XX 7 8 9 / XX rsft lsft S-7 S-8 S-4 S-3 XX XX 7 8 9 / XX rsft
lctl lalt lmet 0 rmet ralt ◀ ▼ ▶ lctl lalt lmet 0 rmet ralt ◀ ▼ ▶

View File

@@ -89,7 +89,7 @@ style = "bg:color_bg1"
format = '[[ $symbol $branch ](bold fg:color_green bg:color_bg1)]($style)' format = '[[ $symbol $branch ](bold fg:color_green bg:color_bg1)]($style)'
[git_status] [git_status]
style = "bg:color_bg1" style = "bold bg:color_bg1"
format = '[[($all_status$ahead_behind )](bold fg:color_green bg:color_bg1)]($style)' format = '[[($all_status$ahead_behind )](bold fg:color_green bg:color_bg1)]($style)'
[line_break] [line_break]

70
env/pkgbuilds/obs-studio-arm/PKGBUILD vendored Normal file
View File

@@ -0,0 +1,70 @@
# Maintainer: Your Name <you@example.com>
pkgname=obs-studio-arm
pkgver=30.2.3
pkgrel=1
pkgdesc="Free and open source software for live streaming and screen recording (ARM64, no browser)"
arch=('aarch64')
url="https://obsproject.com"
license=('GPL2')
depends=(
'qt5-base'
'qt5-svg'
'qt5-tools'
'ffmpeg'
'x264'
'x265'
'jansson'
'curl'
'pipewire'
'libpulse'
'alsa-lib'
'v4l-utils'
'libdrm'
'mesa'
'wayland'
'wayland-protocols'
'libx11'
'libxcb'
'libxcomposite'
'libxinerama'
'libxrandr'
'libxfixes'
)
makedepends=('git' 'cmake' 'base-devel')
provides=('obs-studio')
conflicts=('obs-studio' 'obs-studio-git')
source=("git+https://github.com/obsproject/obs-studio.git")
sha256sums=('SKIP')
pkgver() {
cd obs-studio
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd obs-studio
# Initialize only required submodules, skip obs-browser
git submodule update --init --recursive
# remove the browser submodule so it wont be built
#git submodule deinit plugins/obs-browser
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_BROWSER=OFF \
-DENABLE_QSV=OFF \
-DENABLE_PIPEWIRE=ON \
-DENABLE_PULSEAUDIO=ON \
-DENABLE_ALSA=ON \
-DENABLE_V4L2=ON \
-DENABLE_WAYLAND=ON \
..
make -j$(nproc)
}
package() {
cd obs-studio/build
make DESTDIR="$pkgdir" install
}

3
runs/obs-studio Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
cd $HOME/pkgbuilds/obs-studio-arm && makepkg -si