diff options
Diffstat (limited to 'roles/custom-config/tasks/main.yml')
-rw-r--r-- | roles/custom-config/tasks/main.yml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/roles/custom-config/tasks/main.yml b/roles/custom-config/tasks/main.yml index 0b3dee5..0e8ec20 100644 --- a/roles/custom-config/tasks/main.yml +++ b/roles/custom-config/tasks/main.yml @@ -4,52 +4,6 @@ ansible.builtin.shell: "awk -F: '{ if (($3 >= 1000 && $3 != 65534) || $3 == 0) print $1}' /etc/passwd" register: users -- name: Install Kitty Terminal Emulator 🐱 - ansible.builtin.shell: - cmd: "/usr/bin/curl -sL {{ kitty_installer }} | sh /dev/stdin dest=/opt launch=n" - -- name: Create Desktop Icon for Kitty 🐱 - ansible.builtin.copy: - dest: "/usr/share/applications/kitty.desktop" - content: | - [Desktop Entry] - Version=0.26.2 - Type=Application - Name=Kitty Terminal Emulator - Exec=/opt/kitty.app/bin/kitty - Icon=/opt/kitty.app/share/icons/hicolor/256x256/apps/kitty.png - Categories=Utility - -- name: Prepare kitty.conf files for all interactive users 🐱 - loop: "{{ users.stdout_lines }}" - ansible.builtin.file: - dest: "~{{ item }}/.config/kitty/" - state: directory - recurse: yes - owner: "{{ item }}" - group: "{{ item }}" - mode: 0755 - -- name: Prepare personalized configs for Kitty 🐱 - loop: "{{ users.stdout_lines }}" - ansible.builtin.blockinfile: - path: "~{{ item }}/.config/kitty/kitty.conf" - insertafter: EOF - create: yes - state: present - block: | - # New windows open in current directory - map ctrl+shift+enter launch --cwd=current - - # New tabs open in current directory - map ctrl+t new_tab --cwd=current - - # The coveted "zoom" function - map ctrl+shift+z toggle_layout stack - - # disable mouse-click a link to open in a browser - mouse_map left click ungrabbed no_op - - name: Disable mouse interactivity in vim (╯°□°)╯︵ ┻━┻ ansible.builtin.blockinfile: path: /etc/vim/vimrc |