From b487984ecc61c6229cf92550030745c192fd3d0b Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Wed, 17 May 2023 18:44:48 +0100 Subject: first commit --- home/.config/systemd/user/bridge.service.d/override.conf | 3 +++ home/.config/systemd/user/dirmngr.socket.d/override.conf | 3 +++ home/.config/systemd/user/fakecam.service | 14 ++++++++++++++ .../systemd/user/gpg-agent-browser.socket.d/override.conf | 3 +++ .../systemd/user/gpg-agent-extra.socket.d/override.conf | 3 +++ .../systemd/user/gpg-agent-ssh.socket.d/override.conf | 3 +++ .../.config/systemd/user/gpg-agent.service.d/override.conf | 2 ++ home/.config/systemd/user/gpg-agent.socket.d/override.conf | 3 +++ home/.config/systemd/user/noisetorch.service | 14 ++++++++++++++ home/.config/systemd/user/spotifyd.service.d/override.conf | 10 ++++++++++ .../systemd/user/vdirsyncer.service.d/override.conf | 3 +++ 11 files changed, 61 insertions(+) create mode 100644 home/.config/systemd/user/bridge.service.d/override.conf create mode 100644 home/.config/systemd/user/dirmngr.socket.d/override.conf create mode 100644 home/.config/systemd/user/fakecam.service create mode 100644 home/.config/systemd/user/gpg-agent-browser.socket.d/override.conf create mode 100644 home/.config/systemd/user/gpg-agent-extra.socket.d/override.conf create mode 100644 home/.config/systemd/user/gpg-agent-ssh.socket.d/override.conf create mode 100644 home/.config/systemd/user/gpg-agent.service.d/override.conf create mode 100644 home/.config/systemd/user/gpg-agent.socket.d/override.conf create mode 100644 home/.config/systemd/user/noisetorch.service create mode 100644 home/.config/systemd/user/spotifyd.service.d/override.conf create mode 100644 home/.config/systemd/user/vdirsyncer.service.d/override.conf (limited to 'home/.config/systemd/user') diff --git a/home/.config/systemd/user/bridge.service.d/override.conf b/home/.config/systemd/user/bridge.service.d/override.conf new file mode 100644 index 0000000..50c7feb --- /dev/null +++ b/home/.config/systemd/user/bridge.service.d/override.conf @@ -0,0 +1,3 @@ +[Service] +Environment="GNUPGHOME=%h/.local/share/gnupg" +Environment="PASSWORD_STORE_DIR=%h/.local/share/password-store" \ No newline at end of file diff --git a/home/.config/systemd/user/dirmngr.socket.d/override.conf b/home/.config/systemd/user/dirmngr.socket.d/override.conf new file mode 100644 index 0000000..95ac960 --- /dev/null +++ b/home/.config/systemd/user/dirmngr.socket.d/override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/d.hmaqciuk8y8ye3gwt9b6eth1/S.dirmngr \ No newline at end of file diff --git a/home/.config/systemd/user/fakecam.service b/home/.config/systemd/user/fakecam.service new file mode 100644 index 0000000..f22e5b1 --- /dev/null +++ b/home/.config/systemd/user/fakecam.service @@ -0,0 +1,14 @@ +[Unit] +Description=Fake camera +After=network.target + +[Service] +Type=simple +WorkingDirectory=%h/repos/Linux-Fake-Background-Webcam +ExecStart=%h/repos/Linux-Fake-Background-Webcam/env/bin/python fake.py -c %h/.config/fakecam/config.ini +# fake.py exits when pressing Ctrl + \ which corresponds to SIGQUIT +# so we need to specify this kill signal instead of SIGINT +KillSignal=SIGQUIT + +[Install] +WantedBy=default.target diff --git a/home/.config/systemd/user/gpg-agent-browser.socket.d/override.conf b/home/.config/systemd/user/gpg-agent-browser.socket.d/override.conf new file mode 100644 index 0000000..607c21f --- /dev/null +++ b/home/.config/systemd/user/gpg-agent-browser.socket.d/override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/d.hmaqciuk8y8ye3gwt9b6eth1/S.gpg-agent.browser \ No newline at end of file diff --git a/home/.config/systemd/user/gpg-agent-extra.socket.d/override.conf b/home/.config/systemd/user/gpg-agent-extra.socket.d/override.conf new file mode 100644 index 0000000..9688683 --- /dev/null +++ b/home/.config/systemd/user/gpg-agent-extra.socket.d/override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/d.hmaqciuk8y8ye3gwt9b6eth1/S.gpg-agent.extra \ No newline at end of file diff --git a/home/.config/systemd/user/gpg-agent-ssh.socket.d/override.conf b/home/.config/systemd/user/gpg-agent-ssh.socket.d/override.conf new file mode 100644 index 0000000..a8c7003 --- /dev/null +++ b/home/.config/systemd/user/gpg-agent-ssh.socket.d/override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/d.hmaqciuk8y8ye3gwt9b6eth1/S.gpg-agent.ssh \ No newline at end of file diff --git a/home/.config/systemd/user/gpg-agent.service.d/override.conf b/home/.config/systemd/user/gpg-agent.service.d/override.conf new file mode 100644 index 0000000..3a220a3 --- /dev/null +++ b/home/.config/systemd/user/gpg-agent.service.d/override.conf @@ -0,0 +1,2 @@ +[Service] +Environment="GNUPGHOME=%h/.local/share/gnupg" \ No newline at end of file diff --git a/home/.config/systemd/user/gpg-agent.socket.d/override.conf b/home/.config/systemd/user/gpg-agent.socket.d/override.conf new file mode 100644 index 0000000..3e3dd55 --- /dev/null +++ b/home/.config/systemd/user/gpg-agent.socket.d/override.conf @@ -0,0 +1,3 @@ +[Socket] +ListenStream= +ListenStream=%t/gnupg/d.hmaqciuk8y8ye3gwt9b6eth1/S.gpg-agent \ No newline at end of file diff --git a/home/.config/systemd/user/noisetorch.service b/home/.config/systemd/user/noisetorch.service new file mode 100644 index 0000000..8f1efa3 --- /dev/null +++ b/home/.config/systemd/user/noisetorch.service @@ -0,0 +1,14 @@ +[Unit] +Description=Noisetorch Noise Cancelling +Requires=pipewire.socket + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/noisetorch -i -s "alsa_input.usb-SteelSeries_SteelSeries_Arctis_7-00.mono-chat" -t 95 +ExecStop=/usr/bin/noisetorch -u +Restart=on-failure +RestartSec=3 + +[Install] +WantedBy=default.target diff --git a/home/.config/systemd/user/spotifyd.service.d/override.conf b/home/.config/systemd/user/spotifyd.service.d/override.conf new file mode 100644 index 0000000..d1b6f84 --- /dev/null +++ b/home/.config/systemd/user/spotifyd.service.d/override.conf @@ -0,0 +1,10 @@ +[Unit] +After=gpg-agent.socket + +[Service] +Environment="GNUPGHOME=%h/.local/share/gnupg" +Environment="PASSWORD_STORE_DIR=%h/.local/share/password-store" +Environment="SPOTIFYD_CLIENT_ID=0a1ac82014db4142b364c1d0aa50fea1" +ExecStartPre=/usr/bin/sleep 5 +ExecStart= +ExecStart=/usr/bin/spotifyd --no-daemon -d %H diff --git a/home/.config/systemd/user/vdirsyncer.service.d/override.conf b/home/.config/systemd/user/vdirsyncer.service.d/override.conf new file mode 100644 index 0000000..8cca0f8 --- /dev/null +++ b/home/.config/systemd/user/vdirsyncer.service.d/override.conf @@ -0,0 +1,3 @@ +[Service] +Environment="GNUPGHOME=%h/.local/share/gnupg" +Environment="PASSWORD_STORE_DIR=%h/.local/share/password-store" -- cgit v1.2.3-70-g09d2