From 92afd56a0091584dbd24a017ca1306c0560fbd46 Mon Sep 17 00:00:00 2001 From: Fred Henry <24500479+ffredhenry@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:10:46 -0500 Subject: Update main.yml I dont use Kitty terminal --- roles/custom-config/tasks/main.yml | 46 -------------------------------------- 1 file changed, 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 -- cgit v1.2.3