From 4417ca4df25cfcc6038585982ce40bd874440fcd Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Fri, 18 Oct 2024 11:48:50 -0500 Subject: [PATCH] add syncthing to auto start and fix rsreset alias --- .bashrc | 2 +- fedora-atomic/setup.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index f52e926..62e0522 100644 --- a/.bashrc +++ b/.bashrc @@ -14,4 +14,4 @@ starship_precmd_user_func="set_win_title" eval "$(starship init bash)" alias wttr='curl wttr.in' -alias tsreset='tailscale up --reset --exit-node=' +alias tsreset='sudo tailscale up --reset --exit-node=' diff --git a/fedora-atomic/setup.yml b/fedora-atomic/setup.yml index 6b00642..4377161 100644 --- a/fedora-atomic/setup.yml +++ b/fedora-atomic/setup.yml @@ -57,6 +57,18 @@ dest: "{{ config_dir }}/starship.toml" state: link + - name: Create user autostart path + ansible.builtin.file: + path: "{{ config_dir }}/autostart" + state: directory + mode: "0755" + + - name: Set syncthing to autostart + ansible.builtin.copy: + src: /usr/share/applications/syncthing-start.desktop + dest: "{{ config_dir }}/autostart/syncthing-start.desktop" + mode: "0644" + - name: Create cosmic settings path ansible.builtin.file: path: "{{ config_dir }}/cosmic/com.system76.CosmicSettings.Shortcuts/v1"