Skip to content

Commit

Permalink
Fix permissions to gnome autostart directory
Browse files Browse the repository at this point in the history
  • Loading branch information
OrBin committed Sep 26, 2023
1 parent 2453d06 commit 09c704c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@
src: "/var/lib/snapd/desktop/applications/slack_slack.desktop"
dest: "{{ autostart_dir }}/slack_slack.desktop"
when: computer_type == "work" and (configure_kde or configure_gnome)
become: configure_gnome
become: "{{ configure_gnome }}"

- name: Add Telegram Desktop to autostart (startup/boot)
copy:
src: "/var/lib/flatpak/app/org.telegram.desktop/current/active/export/share/applications/org.telegram.desktop.desktop"
dest: "{{ autostart_dir }}/telegram-desktop_telegram-desktop.desktop"
register: telegram_autostart_desktop_entry
when: configure_kde or configure_gnome
become: configure_gnome
become: "{{ configure_gnome }}"

- name: Make Telegram Desktop autostart in tray
replace:
Expand All @@ -238,7 +238,7 @@
regexp: "telegram-desktop -- "
replace: "telegram-desktop -startintray -- "
when: configure_kde or configure_gnome
become: configure_gnome
become: "{{ configure_gnome }}"

- name: Initialize JetBrains IDE directories
# Letting each IDE to run for 10 seconds to initialize its configuration directory
Expand Down

0 comments on commit 09c704c

Please sign in to comment.