Browse Source

kitty and font config

master
parent
commit
84593e5de3
5 changed files with 31 additions and 13 deletions
  1. +9
    -12
      defaults/main.yaml
  2. +12
    -0
      tasks/kitty.yaml
  3. +3
    -0
      tasks/main.yaml
  4. +6
    -0
      templates/kitty/kitty.conf.j2
  5. +1
    -1
      templates/xfce4-terminal/terminalrc.j2

+ 9
- 12
defaults/main.yaml View File

@@ -14,7 +14,7 @@ home_vncserver_allow_resize: true

home_vncserver_geometry: '1920x1200'

default_terminal: xfce4-terminal
default_terminal: kitty
default_browser: firefox

# feature flags
@@ -66,18 +66,15 @@ workspaces: {}
i3_hide_bar: false
i3_hide_border_one_window: false

i3_font: pango:{{i3_pango_font}}
i3_pango_font: "{{terminal_font}}"
font_name: Monospace
font_size: 12
kitty_font_family: "{{font_name}}"
kitty_font_size: "{{font_size}}"
i3_font: "pango:{{font_name}} {{font_size}}"
xfce4_terminal_font: "{{font_name}} {{font_size}}"
rofi_font: "{{font_name}} {{font_size}}"

xfce4_terminal_font: "{{terminal_font}}"

rofi_font: "{{terminal_font}}"

terminal_font: "{{terminal_font_name}} {{terminal_font_size}}"
terminal_font_name: Monospace
terminal_font_size: 12

home_urxvt_font_pixelsize: "{{terminal_font_size}}"
home_urxvt_font_pixelsize: "{{font_size}}"

home_xhosts_allow: []



+ 12
- 0
tasks/kitty.yaml View File

@@ -0,0 +1,12 @@
---

- name: kitty config directory
file:
path: ~/.config/kitty
state: directory

- name: kitty config
template:
src: kitty/kitty.conf.j2
dest: ~/.config/kitty/kitty.conf
mode: 0755

+ 3
- 0
tasks/main.yaml View File

@@ -28,6 +28,9 @@
- import_tasks: xfce4-terminal.yaml
tags:
- xfce4-terminal
- import_tasks: kitty.yaml
tags:
- kitty
- import_tasks: rofi.yaml
- import_tasks: barrier.yaml
tags:


+ 6
- 0
templates/kitty/kitty.conf.j2 View File

@@ -0,0 +1,6 @@
font_family {{kitty_font_family}}
font_size {{kitty_font_size}}
open_url_with xdg-open
cursor_blink_interval 0
map ctrl+shift+plus change_font_size all +2.0
enable_audio_bell no

+ 1
- 1
templates/xfce4-terminal/terminalrc.j2 View File

@@ -30,7 +30,7 @@ TitleMode=TERMINAL_TITLE_REPLACE
ScrollingBar=TERMINAL_SCROLLBAR_NONE
BackgroundImageShading=0,530000
ScrollingUnlimited=TRUE
FontName=Monospace 12
FontName={{font_name}} {{font_size}}
{% if xterminal_custom_command is defined %}
CustomCommand={{xterminal_custom_command}}
{% endif %}