diff options
author | Fred Henry <24500479+ffredhenry@users.noreply.github.com> | 2024-10-16 14:10:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 14:10:46 -0500 |
commit | 92afd56a0091584dbd24a017ca1306c0560fbd46 (patch) | |
tree | 88d5ca4bd34aee5c7b325ebdc93f1a2976f855e1 | |
parent | ef4b12a695178e697b97702bc7fabdecb6491a85 (diff) |
Update main.yml
I dont use Kitty terminal
-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 |