From 89a7ed6644a5248e96b65f191af0257f534529d5 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Fri, 20 Jan 2023 23:41:43 +0100 Subject: [PATCH] all: Replace alacritty with foot Signed-off-by: Christoph Heiss --- alacritty/alacritty.yml | 71 ----------------------------------------- deploy.sh | 3 +- foot/foot.ini | 17 ++++++++++ sway/config | 2 +- update.sh | 3 +- 5 files changed, 21 insertions(+), 75 deletions(-) delete mode 100644 alacritty/alacritty.yml create mode 100644 foot/foot.ini diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml deleted file mode 100644 index 737ffc4..0000000 --- a/alacritty/alacritty.yml +++ /dev/null @@ -1,71 +0,0 @@ ---- -scrolling: - history: 0 - -font: - normal: - family: Source Code Pro - style: Semibold - size: 10.0 - -# Based on https://github.com/dracula/alacritty -colors: - primary: - background: '#282a36' - foreground: '#f8f8f2' - bright_foreground: '#ffffff' - cursor: - text: CellBackground - cursor: CellForeground - vi_mode_cursor: - text: CellBackground - cursor: CellForeground - search: - matches: - foreground: '#44475a' - background: '#50fa7b' - focused_match: - foreground: '#44475a' - background: '#ffb86c' - footer_bar: - background: '#282a36' - foreground: '#f8f8f2' - hints: - start: - foreground: '#282a36' - background: '#f1fa8c' - end: - foreground: '#f1fa8c' - background: '#282a36' - line_indicator: - foreground: None - background: None - selection: - text: CellForeground - background: '#44475a' - normal: - black: '#21222c' - red: '#ff5555' - green: '#50fa7b' - yellow: '#f1fa8c' - blue: '#bd93f9' - magenta: '#ff79c6' - cyan: '#8be9fd' - white: '#f8f8f2' - bright: - black: '#6272a4' - red: '#ff6e6e' - green: '#69ff94' - yellow: '#ffffa5' - blue: '#d6acff' - magenta: '#ff92df' - cyan: '#a4ffff' - white: '#ffffff' - -cursor: - style: Underline - -shell: - program: /usr/bin/tmux - args: - - -u diff --git a/deploy.sh b/deploy.sh index c1823cb..65a8972 100755 --- a/deploy.sh +++ b/deploy.sh @@ -14,7 +14,8 @@ $RSYNC zshrc $HOME/.zshrc ITEMS="git nvim tmux" -[ "$MODE" != --headless ] && ITEMS+=" alacritty sway swaylock waybar waybar mako wofi mimeapps.list" +[ "$MODE" != --headless ] \ + && ITEMS+=" foot mako mimeapps.list sway swaylock waybar wofi" for i in $ITEMS; do [ -d $i ] && mkdir -p $HOME/.config/$i diff --git a/foot/foot.ini b/foot/foot.ini new file mode 100644 index 0000000..738716b --- /dev/null +++ b/foot/foot.ini @@ -0,0 +1,17 @@ +[main] +shell=tmux +font=Jetbrains Mono:size=9,Noto Color Emoji:size=9 + +[scrollback] +lines=0 + +[cursor] +style=underline +color=ffffff ffffff +underline-thickness=1 + +[mouse] +hide-when-typing=yes + +[colors] +background=1e1f27 diff --git a/sway/config b/sway/config index dd5ff6c..1f6443e 100644 --- a/sway/config +++ b/sway/config @@ -4,7 +4,7 @@ set $down h set $up t set $right n -set $term alacritty +set $term foot set $menu wofi --show drun --insensitive | xargs swaymsg exec -- set $lock swaylock set $exit swaynag -t warning -m 'Exit sway?' -B 'Yes, exit' 'swaymsg exit' diff --git a/update.sh b/update.sh index 060d25e..4795204 100755 --- a/update.sh +++ b/update.sh @@ -12,7 +12,6 @@ $RSYNC $HOME/.latexmkrc latexmkrc $RSYNC $HOME/.zshrc zshrc $RSYNC --exclude smtpconfig $HOME/.config/git . - $RSYNC --exclude plugins $HOME/.config/tmux . $RSYNC \ @@ -20,7 +19,7 @@ $RSYNC \ $HOME/.config/nvim . if [ "$MODE" != --headless ]; then - for i in alacritty waybar mako wofi mimeapps.list; do + for i in foot mako mimeapps.list waybar wofi; do $RSYNC $HOME/.config/$i . done