From d0310aec87332eadb083a81f9e01a7fd7f8b6c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 15 Jan 2024 10:55:28 +0100 Subject: alacritty: new config format --- config/alacritty.toml | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++ config/alacritty.yml | 68 -------------------------------------------- install | 2 +- private | 2 +- shvcli.ini | 1 + 5 files changed, 82 insertions(+), 70 deletions(-) create mode 100644 config/alacritty.toml delete mode 100644 config/alacritty.yml diff --git a/config/alacritty.toml b/config/alacritty.toml new file mode 100644 index 0000000..0337c1d --- /dev/null +++ b/config/alacritty.toml @@ -0,0 +1,79 @@ +#import = ["/home/cynerd/.config/alacritty/themes/themes/alabaster.toml"] + +[colors.bright] +black = "#4c566a" +blue = "#81a1c1" +cyan = "#8fbcbb" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#eceff4" +yellow = "#ebcb8b" + +[colors.cursor] +cursor = "#d8dee9" +text = "#2e3440" + +[colors.dim] +black = "#373e4d" +blue = "#68809a" +cyan = "#6d96a5" +green = "#809575" +magenta = "#8c738c" +red = "#94545d" +white = "#aeb3bb" +yellow = "#b29e75" + +[colors.normal] +black = "#3b4252" +blue = "#81a1c1" +cyan = "#88c0d0" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#e5e9f0" +yellow = "#ebcb8b" + +[colors.primary] +background = "#2e3440" +dim_foreground = "#a5abb6" +foreground = "#d8dee9" + +#[colors.search.footer_bar] +#background = "#434c5e" +#foreground = "#d8dee9" + +[colors.search.matches] +background = "#88c0d0" +foreground = "CellBackground" + +[colors.selection] +background = "#4c566a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "#d8dee9" +text = "#2e3440" + +[env] +TERM = "xterm-256color" + +[font] +size = 8 + +[[keyboard.bindings]] +action = "SpawnNewInstance" +key = "Return" +mods = "Control|Shift" + +[[keyboard.bindings]] +action = "ToggleViMode" +key = "I" +mods = "Control|Shift" + +[scrolling] +history = 10000 +multiplier = 3 + +[window] +decorations_theme_variant = "Dark" diff --git a/config/alacritty.yml b/config/alacritty.yml deleted file mode 100644 index 3613853..0000000 --- a/config/alacritty.yml +++ /dev/null @@ -1,68 +0,0 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - -env: - # This is to support dircolors. For now dircolors does not support alacritty. - TERM: xterm-256color - -window: - decorations_theme_variant: Dark - -scrolling: - history: 10000 - multiplier: 3 - -font: - size: 8 - -colors: - primary: - background: '#2e3440' - foreground: '#d8dee9' - dim_foreground: '#a5abb6' - cursor: - text: '#2e3440' - cursor: '#d8dee9' - vi_mode_cursor: - text: '#2e3440' - cursor: '#d8dee9' - selection: - text: CellForeground - background: '#4c566a' - search: - matches: - foreground: CellBackground - background: '#88c0d0' - footer_bar: - background: '#434c5e' - foreground: '#d8dee9' - normal: - black: '#3b4252' - red: '#bf616a' - green: '#a3be8c' - yellow: '#ebcb8b' - blue: '#81a1c1' - magenta: '#b48ead' - cyan: '#88c0d0' - white: '#e5e9f0' - bright: - black: '#4c566a' - red: '#bf616a' - green: '#a3be8c' - yellow: '#ebcb8b' - blue: '#81a1c1' - magenta: '#b48ead' - cyan: '#8fbcbb' - white: '#eceff4' - dim: - black: '#373e4d' - red: '#94545d' - green: '#809575' - yellow: '#b29e75' - blue: '#68809a' - magenta: '#8c738c' - cyan: '#6d96a5' - white: '#aeb3bb' - -key_bindings: - - { key: Return, mods: Control|Shift, action: SpawnNewInstance } - - { key: I, mods: Control|Shift, action: ToggleViMode } diff --git a/install b/install index bed7cac..fd5ab1e 100755 --- a/install +++ b/install @@ -128,7 +128,7 @@ if ask "desktop" "Install desktop"; then fi if ask "alacritty" "Install configurations for terminal emulator"; then - inst config/alacritty.yml ~/.config/alacritty.yml + inst config/alacritty.toml ~/.config/alacritty.toml fi if ask "mpd" "Install MPD configuration"; then diff --git a/private b/private index 71e01f4..44d918b 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 71e01f40e087a222431c2daa2c59bb2790d510aa +Subproject commit 44d918bec6844b3c31828fe2e114bbaa54c4d8b3 diff --git a/shvcli.ini b/shvcli.ini index de77d58..e451abc 100644 --- a/shvcli.ini +++ b/shvcli.ini @@ -1,5 +1,6 @@ [hosts] localhost = tcp://admin@localhost?password=admin!123 +brcg2 = tcp://cli@localhost [hosts-shell] nirvana = tcp://kkoci@nirvana.elektroline.cz:3756?password=$(pass elektroline.cz/nirvana/kkoci) -- cgit v1.2.3