feat: wheel events
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/env bash
|
||||
|
||||
path="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
cmake -S "$path/.." -B "$path/../build" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX="$HOME"/.local || exit 1
|
||||
|
||||
cmake --build "$path/../build" --target install || exit 1
|
||||
|
||||
cp "$path/wallpaper_chooser.desktop" "$HOME"/.local/share/applications/wallpaper_chooser.desktop
|
||||
|
||||
echo -e "\nExec=$HOME/.local/bin/wallpaper_chooser" >> "$HOME"/.local/share/applications/wallpaper_chooser.desktop
|
||||
|
||||
if command -v update-desktop-database &> /dev/null; then
|
||||
update-desktop-database "$HOME"/.local/share/applications/
|
||||
fi
|
||||
Reference in New Issue
Block a user