added systemd service for gdrive
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -12,7 +12,6 @@
|
|||||||
!mimeapps.list
|
!mimeapps.list
|
||||||
!fuzzel/
|
!fuzzel/
|
||||||
!fish/
|
!fish/
|
||||||
fish/fish_variables
|
|
||||||
!packages
|
!packages
|
||||||
!brave-flags.conf
|
!brave-flags.conf
|
||||||
!chromium-flags.conf
|
!chromium-flags.conf
|
||||||
@@ -21,3 +20,6 @@ fish/fish_variables
|
|||||||
!rice-2.png
|
!rice-2.png
|
||||||
!rice-3.png
|
!rice-3.png
|
||||||
!btop
|
!btop
|
||||||
|
!wireplumber/
|
||||||
|
!systemd/
|
||||||
|
fish/fish_variables
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ env = XCURSOR_THEME,Bibata-Modern-Classic
|
|||||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
env = debug:full_cm_proto,true
|
env = debug:full_cm_proto,true
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||||
env = LIBVA_DRIVER_NAME,radeonsi
|
# env = LIBVA_DRIVER_NAME,radeonsi
|
||||||
env = VDPAU_DRIVER,radeonsi
|
# env = VDPAU_DRIVER,radeonsi
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
||||||
|
|||||||
1
systemd/user/default.target.wants/gcr-ssh-agent.service
Symbolic link
1
systemd/user/default.target.wants/gcr-ssh-agent.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gcr-ssh-agent.service
|
||||||
1
systemd/user/default.target.wants/pipewire-pulse.service
Symbolic link
1
systemd/user/default.target.wants/pipewire-pulse.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/pipewire-pulse.service
|
||||||
1
systemd/user/default.target.wants/pipewire.service
Symbolic link
1
systemd/user/default.target.wants/pipewire.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/pipewire.service
|
||||||
24
systemd/user/gdrive-mount.service
Normal file
24
systemd/user/gdrive-mount.service
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# ~/.config/systemd/user/rclone-mount.service
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Rclone Mount for google drive
|
||||||
|
# This ensures your network is ready before it tries to mount
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# The command to start the mount.
|
||||||
|
# Replace "my-remote:" and "/path/to/local/mount" accordingly.
|
||||||
|
# The flags below are highly recommended for a good experience.
|
||||||
|
ExecStart=rclone mount google_drive: %h/gdrive \
|
||||||
|
--vfs-cache-mode writes \
|
||||||
|
--log-file /tmp/rclone.log \
|
||||||
|
--log-level INFO
|
||||||
|
|
||||||
|
# The command to unmount gracefully.
|
||||||
|
ExecStop=fusermount -u %h/gdrive
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
# This tells systemd to start the service at user login.
|
||||||
|
WantedBy=default.target
|
||||||
1
systemd/user/graphical-session.target.wants/hyprpaper.service
Symbolic link
1
systemd/user/graphical-session.target.wants/hyprpaper.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/hyprpaper.service
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/hyprpolkitagent.service
|
||||||
1
systemd/user/graphical-session.target.wants/waybar.service
Symbolic link
1
systemd/user/graphical-session.target.wants/waybar.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/waybar.service
|
||||||
1
systemd/user/multi-user.target.wants/wayvnc.service
Symbolic link
1
systemd/user/multi-user.target.wants/wayvnc.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/wayvnc.service
|
||||||
1
systemd/user/sockets.target.wants/gcr-ssh-agent.socket
Symbolic link
1
systemd/user/sockets.target.wants/gcr-ssh-agent.socket
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gcr-ssh-agent.socket
|
||||||
1
systemd/user/sockets.target.wants/pipewire-pulse.socket
Symbolic link
1
systemd/user/sockets.target.wants/pipewire-pulse.socket
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/pipewire-pulse.socket
|
||||||
1
systemd/user/sockets.target.wants/pipewire.socket
Symbolic link
1
systemd/user/sockets.target.wants/pipewire.socket
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/pipewire.socket
|
||||||
10
systemd/user/ssh-agent.service
Normal file
10
systemd/user/ssh-agent.service
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=SSH key agent
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||||
|
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user