feat: wheel events

This commit is contained in:
2025-08-06 02:15:16 +02:00
parent b4988f4499
commit a6dfa35fa7
6 changed files with 72 additions and 8 deletions
Executable
+17
View File
@@ -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
+8
View File
@@ -0,0 +1,8 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Wallpaper Chooser
Comment=A small wallpaper utility made with Qt
Terminal=false
Categories=Application;Utility;
StartupNotify=true