Compare commits

..

1 commit

Author SHA1 Message Date
b67b883c05
Using vimx, and updated tomorrow-night alacritty theme 2021-11-24 12:19:49 +02:00
2 changed files with 3 additions and 21 deletions

View file

@ -19,19 +19,4 @@
- com.github.unrud.VideoDownloader - com.github.unrud.VideoDownloader
- fyi.zoey.Boop-GTK - fyi.zoey.Boop-GTK
- nl.hjdskes.gcolor3 - nl.hjdskes.gcolor3
- re.sonny.Junction
- org.gnome.DejaDup
state: present state: present
- name: Check if open function is set
shell: grep -c "^function open" ~/.shellconfig/functions.sh || true
register: open_test
- name: "Adding 'open' shell function"
ansible.builtin.lineinfile:
name: ~/.shellconfig/functions.sh
line: |
# Open files from CLI via Junction flatpak
function open() { if [[ -f $@ || -d $@ ]]; then flatpak run re.sonny.Junction $@ &>/dev/null; else echo "❌No such file or directory '$@'"; false; fi}
state: present
when: open_test.stdout|int == 0

View file

@ -1,17 +1,14 @@
- name: Install vim (RHEL based) - name: Install vim (RHEL based)
become: true become: true
package: package:
name: name: vim-X11
- vim-X11 state: present
- vim-common
- vim-minimal
state: latest
when: ansible_facts['os_family'] == "RedHat" when: ansible_facts['os_family'] == "RedHat"
- name: Install vim (Debian based) - name: Install vim (Debian based)
become: true become: true
package: package:
name: vim-gtk name: vim-gnome
state: present state: present
when: ansible_facts['os_family'] == "Debian" when: ansible_facts['os_family'] == "Debian"