mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-21 00:22:47 +01:00
fix: use correct config file in tofi
This commit is contained in:
parent
4d3dc0ef49
commit
1cb28e0e01
9
recipes-support/tofi/files/drun
Executable file
9
recipes-support/tofi/files/drun
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
config="/etc/xdg/tofi/config"
|
||||
|
||||
if [ -e "$HOME/.config/tofi/config" ]; then
|
||||
config="$HOME/.config/tofi/config"
|
||||
fi
|
||||
|
||||
tofi-drun -c "$config"
|
@ -10,7 +10,7 @@ DEPENDS = "wayland freetype wayland-native wayland-protocols-native wayland-prot
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "git://github.com/philj56/tofi.git;protocol=https;branch=master"
|
||||
SRC_URI += " file://config "
|
||||
SRC_URI += " file://config file://drun "
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
@ -20,7 +20,8 @@ EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
do_install:append () {
|
||||
# replace the default config
|
||||
install -m 0755 ${WORKDIR}/drun ${D}/usr/bin/
|
||||
install -m 0755 ${WORKDIR}/config ${D}/${sysconfdir}/xdg/tofi/
|
||||
}
|
||||
|
||||
FILES:${PN} += "/usr/share/*"
|
||||
FILES:${PN} += "/usr/share/*"
|
||||
|
Loading…
x
Reference in New Issue
Block a user