add service manually
This commit is contained in:
parent
d84787e998
commit
71bf3d8bd3
1 changed files with 3 additions and 1 deletions
4
arch.sh
4
arch.sh
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue