add service manually

This commit is contained in:
Mylloon 2024-11-26 10:20:19 +01:00
parent d84787e998
commit 71bf3d8bd3
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -380,8 +380,10 @@ function main {
# === GPU Screen recorder == # === GPU Screen recorder ==
# Configuration # Configuration
wget -q --show-progress ${repo}/.config/gpu-screen-recorder.env -O "$HOME"/.config/gpu-screen-recorder.env wget -q --show-progress ${repo}/.config/gpu-screen-recorder.env -O "$HOME"/.config/gpu-screen-recorder.env
# Add service
wget -q --show-progress https://git.dec05eba.com/gpu-screen-recorder/plain/extra/gpu-screen-recorder.service -O /etc/systemd/system/gpu-screen-recorder.service
# Enable # Enable
systemctl enable --now --user gpu-screen-recorder systemctl enable --now gpu-screen-recorder
# Keybind # Keybind
custom_keybindings_list=$(gsettings get ${gs_mediakey} custom-keybindings) custom_keybindings_list=$(gsettings get ${gs_mediakey} custom-keybindings)
if ! echo "$custom_keybindings_list" | grep -q "gpu-screen-recorder" if ! echo "$custom_keybindings_list" | grep -q "gpu-screen-recorder"