diff --git a/ansible/roles/alacritty/files/alacritty.toml b/ansible/roles/alacritty/files/alacritty.toml new file mode 100644 index 0000000..8d35927 --- /dev/null +++ b/ansible/roles/alacritty/files/alacritty.toml @@ -0,0 +1,44 @@ +[colors] +draw_bold_text_with_bright_colors = true +indexed_colors = [] + +[colors.bright] +black = "0x666666" +blue = "0x7aa6da" +cyan = "0x54ced6" +green = "0x9ec400" +magenta = "0xb77ee0" +red = "0xff3334" +white = "0xffffff" +yellow = "0xe7c547" + +[colors.normal] +black = "0x000000" +blue = "0x7aa6da" +cyan = "0x70c0ba" +green = "0xb9ca4a" +magenta = "0xc397d8" +red = "0xd54e53" +white = "0xeaeaea" +yellow = "0xe6c547" + +[colors.primary] +background = "0x000000" +foreground = "0xeaeaea" + +[font] +size = 11.0 + +[[hints.enabled]] +command = "xdg-open" +post_processing = true +regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" + +[hints.enabled.mouse] +enabled = false +mods = "None" + +[scrolling] +history = 10000 +# Lines moved per scroll. +multiplier = 3 diff --git a/ansible/roles/alacritty/files/alacritty.yml b/ansible/roles/alacritty/files/alacritty.yml deleted file mode 100644 index a15e641..0000000 --- a/ansible/roles/alacritty/files/alacritty.yml +++ /dev/null @@ -1,103 +0,0 @@ -# If `true`, bold text is drawn using the bright color variants. -draw_bold_text_with_bright_colors: true - -colors: - # Default colors - primary: - background: "0x000000" - foreground: "0xeaeaea" - - # Bright and dim foreground colors - # - # The dimmed foreground color is calculated automatically if it is not present. - # If the bright foreground color is not set, or `draw_bold_text_with_bright_colors` - # is `false`, the normal foreground color will be used. - #dim_foreground: '0x9a9a9a' - #bright_foreground: '0xffffff' - - # Cursor colors - # - # Colors which should be used to draw the terminal cursor. If these are unset, - # the cursor color will be the inverse of the cell color. - #cursor: - # text: '0x000000' - # cursor: '0xffffff' - - # Selection colors - # - # Colors which should be used to draw the selection area. If selection - # background is unset, selection color will be the inverse of the cell colors. - # If only text is unset the cell text color will remain the same. - #selection: - # text: '0xeaeaea' - # background: '0x404040' - - # Normal colors - normal: - black: "0x000000" - red: "0xd54e53" - green: "0xb9ca4a" - yellow: "0xe6c547" - blue: "0x7aa6da" - magenta: "0xc397d8" - cyan: "0x70c0ba" - white: "0xeaeaea" - - # Bright colors - bright: - black: "0x666666" - red: "0xff3334" - green: "0x9ec400" - yellow: "0xe7c547" - blue: "0x7aa6da" - magenta: "0xb77ee0" - cyan: "0x54ced6" - white: "0xffffff" - - # Dim colors - # - # If the dim colors are not set, they will be calculated automatically based - # on the `normal` colors. - #dim: - # black: '0x000000' - # red: '0x8c3336' - # green: '0x7a8530' - # yellow: '0x97822e' - # blue: '0x506d8f' - # magenta: '0x80638e' - # cyan: '0x497e7a' - # white: '0x9a9a9a' - - # Indexed Colors - # - # The indexed colors include all colors from 16 to 256. - # When these are not set, they're filled with sensible defaults. - # - # Example: - # `- { index: 16, color: '0xff00ff' }` - # - indexed_colors: [] - -scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - history: 10000 - - # Number of lines the viewport will move for every line scrolled when - # scrollback is enabled (history > 0). - multiplier: 3 - -font: - size: 11.0 - -hints: - enabled: - # Disable opening links when clicked - - regex: - "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" - command: xdg-open - post_processing: true - mouse: - enabled: false - mods: None diff --git a/ansible/roles/alacritty/tasks/peruser.yaml b/ansible/roles/alacritty/tasks/peruser.yaml index 3c76ba7..24f571a 100644 --- a/ansible/roles/alacritty/tasks/peruser.yaml +++ b/ansible/roles/alacritty/tasks/peruser.yaml @@ -19,8 +19,8 @@ owner: "{{ account_name.stdout }}" group: "{{ group_name.stdout }}" loop: - - src: alacritty.yml - dest: .config/alacritty/alacritty.yml + - src: alacritty.toml + dest: .config/alacritty/alacritty.toml - import_tasks: tasks/peruser_freebsd.yaml when: 'os_flavor == "freebsd"' diff --git a/ansible/roles/network/tasks/linux.yaml b/ansible/roles/network/tasks/linux.yaml index 1eeedc9..0cde23b 100644 --- a/ansible/roles/network/tasks/linux.yaml +++ b/ansible/roles/network/tasks/linux.yaml @@ -36,5 +36,5 @@ daemon_reload: yes loop: - iwd.service - - systemd-networkd.service + # - systemd-networkd.service - systemd-resolved.service