diff --git a/config/packages/alacritty/alacritty.toml b/config/packages/alacritty/alacritty.toml new file mode 100644 index 0000000..e14d358 --- /dev/null +++ b/config/packages/alacritty/alacritty.toml @@ -0,0 +1,77 @@ +[colors] +draw_bold_text_with_bright_colors = true + +[env] +TERM = "xterm-256color" + +[font] +size = 11.0 + +[font.bold] +family = "Hack" +style = "Bold" + +[font.bold_italic] +family = "Hack" +style = "Bold Italic" + +[font.italic] +family = "Hack" +style = "Italic" + +[font.normal] +family = "Hack" +style = "Regular" + +[font.offset] +x = 0 +y = 1 + +[[keyboard.bindings]] +action = "Paste" +key = "V" +mods = "Control|Shift" + +[[keyboard.bindings]] +action = "Copy" +key = "C" +mods = "Control|Shift" + +[[keyboard.bindings]] +action = "ScrollPageUp" +key = "PageUp" +mods = "Shift" + +[[keyboard.bindings]] +action = "ScrollPageDown" +key = "PageDown" +mods = "Shift" + +[[keyboard.bindings]] +action = "ScrollToTop" +key = "Home" +mods = "Shift" + +[[keyboard.bindings]] +action = "ScrollToBottom" +key = "End" +mods = "Shift" + +[scrolling] +history = 5000 + +[window] +opacity = 1 +title = "Alacritty" + +[window.class] +general = "Alacritty" +instance = "Alacritty" + +[window.dimensions] +columns = 133 +lines = 40 + +[window.padding] +x = 6 +y = 6 diff --git a/config/packages/alacritty/alacritty.yml b/config/packages/alacritty/alacritty.yml deleted file mode 100644 index 7b82870..0000000 --- a/config/packages/alacritty/alacritty.yml +++ /dev/null @@ -1,55 +0,0 @@ -env: - TERM: xterm-256color - -window: - dimensions: - columns: 133 - lines: 40 - - padding: - x: 6 - y: 6 - - title: Alacritty - - class: - instance: Alacritty - general: Alacritty - - opacity: 1 - -scrolling: - history: 5000 - -font: - normal: - family: Hack - style: Regular - - bold: - family: Hack - style: Bold - - italic: - family: Hack - style: Italic - - bold_italic: - family: Hack - style: Bold Italic - - size: 11.0 - - offset: - x: 0 - y: 1 - -draw_bold_text_with_bright_colors: true - -key_bindings: - - { key: V, mods: Control|Shift, action: Paste } - - { key: C, mods: Control|Shift, action: Copy } - - { key: PageUp, mods: Shift, action: ScrollPageUp } - - { key: PageDown, mods: Shift, action: ScrollPageDown } - - { key: Home, mods: Shift, action: ScrollToTop } - - { key: End, mods: Shift, action: ScrollToBottom } diff --git a/config/packages/alacritty/default.nix b/config/packages/alacritty/default.nix index f1405da..40d5bd1 100644 --- a/config/packages/alacritty/default.nix +++ b/config/packages/alacritty/default.nix @@ -1,3 +1,3 @@ { - home.file."/home/vylpes/.config/alacritty/alacritty.yml".source = ./alacritty.yml; + home.file."/home/vylpes/.config/alacritty/alacritty.toml".source = ./alacritty.toml; }