feat: enhance autostart configurations and add executable permissions for desktop entries
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
- { src: "$DOTFILES_PATH/config/ssh/config.d", dest: "~/.ssh/config.d" }
|
||||
- { src: "$DOTFILES_PATH/config/starship.toml", dest: "~/.config/starship.toml" }
|
||||
- { src: "$DOTFILES_PATH/.bashrc", dest: "~/.bashrc.extra" }
|
||||
- { src: "$DOTFILES_PATH/config/autostart", dest: "~/.config/autostart" }
|
||||
|
||||
- name: Create gitconfig symlink
|
||||
ansible.builtin.file:
|
||||
|
6
config/ansible/tasks/workstations/autostart.yml
Normal file
6
config/ansible/tasks/workstations/autostart.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# Mark all files under the real autostart source as executable
|
||||
- name: Mark all files under dotfiles autostart as executable
|
||||
ansible.builtin.file:
|
||||
path: "{{ lookup('env', 'DOTFILES_PATH') }}/config/autostart"
|
||||
mode: "u+x,g+x,o+x"
|
||||
recurse: true
|
@@ -12,3 +12,4 @@
|
||||
follow: false
|
||||
loop:
|
||||
- { src: "$DOTFILES_PATH/vscode/settings.json", dest: "~/.config/Code/User/settings.json" }
|
||||
- { src: "$DOTFILES_PATH/config/autostart", dest: "~/.config/autostart" }
|
||||
|
@@ -37,6 +37,9 @@
|
||||
- name: Include purge LibreOffice tasks
|
||||
ansible.builtin.import_tasks: tasks/workstations/purge-libreoffice.yml
|
||||
|
||||
- name: Include autostart tasks
|
||||
ansible.builtin.import_tasks: tasks/workstations/autostart.yml
|
||||
|
||||
- name: Ensure workstation common packages are installed
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
|
Reference in New Issue
Block a user