Skip to content

Commit

Permalink
alacritty instead of termite
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoximenes committed Aug 5, 2024
1 parent 827c1f9 commit e219266
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config/yarn/global/*
!config/yarn/global/yarn.lock

config/dunst/dunstrc
config/termite/config
config/alacritty/alacritty.toml
config/i3/config
config/polybar/config

Expand Down
33 changes: 33 additions & 0 deletions config/alacritty/alacritty.toml.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[font]
size = ${ALACRITTY_FONT_SIZE}

[window]
padding = { x = 4, y = 4 }

[colors]
draw_bold_text_with_bright_colors = true

[colors.primary]
foreground = "#F3F3F3"
background = "#1C1C1C"
bright_foreground = "#FFFFFF"

[colors.normal]
black = "#2E3436"
red = "#CC0000"
green = "#4E9A06"
yellow = "#C4A000"
blue = "#3465A4"
magenta = "#75507B"
cyan = "#06989A"
white = "#D3D7CF"

[colors.bright]
black = "#555753"
red = "#EF2929"
green = "#8AE234"
yellow = "#FCE94F"
blue = "#729FCF"
magenta = "#AD7FA8"
cyan = "#34E2E2"
white = "#EEEEEC"
8 changes: 4 additions & 4 deletions config/i3/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ focus_follows_mouse no
workspace_layout tabbed

# start a terminal
bindsym $mod+Return exec termite -t "termite" -e "tmux new -A -s general"
bindsym $mod+Return exec alacritty -t "alacritty" -e tmux new -A -s general

# kill focused window
bindsym $mod+Shift+q kill
Expand Down Expand Up @@ -148,7 +148,7 @@ bindsym $mod+comma exec rofi -show combi -combi-modi "window#drun" -modi combi

# softwares
bindsym $mod+z exec zathura
bindsym $mod+x exec termite -t htop -e htop
bindsym $mod+x exec alacritty -t htop -e htop
bindsym $mod+c exec google-chrome-stable --high-dpi-support=1 --force-device-scale-factor=${I3_GOOGLE_CHROME_SCALE_FACTOR}
bindsym $mod+f exec firefox
bindsym $mod+v exec vlc
Expand Down Expand Up @@ -176,8 +176,8 @@ bindsym Control+Shift+space exec dunstctl close-all
bindsym Control+period exec dunstctl history-pop

# scratchpad terminal
exec --no-startup-id termite --class "scratchpad_terminal"
bindsym $mod+Shift+period exec --no-startup-id termite --class "scratchpad_terminal"
exec --no-startup-id alacritty --class "scratchpad_terminal"
bindsym $mod+Shift+period exec --no-startup-id alacritty --class "scratchpad_terminal"
for_window [class="scratchpad_terminal"] floating enable
for_window [class="scratchpad_terminal"] sticky enable
for_window [class="scratchpad_terminal"] resize set ${I3_SCRATCHPAD_TERMINAL_SIZE}
Expand Down
27 changes: 0 additions & 27 deletions config/termite/config.tpl

This file was deleted.

2 changes: 2 additions & 0 deletions home/.scripts/env_vars/edp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export DUNST_FONT_SIZE=14

export TERMITE_FONT_SIZE=15

export ALACRITTY_FONT_SIZE=10

export POLYBAR_BAR_HEIGHT=45
export POLYBAR_BAR_TRAY_MAXSIZE=23
export POLYBAR_FONT_0_SIZE=12
Expand Down
2 changes: 2 additions & 0 deletions home/.scripts/env_vars/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export DUNST_FONT_SIZE=25

export TERMITE_FONT_SIZE=24

export ALACRITTY_FONT_SIZE=19

export POLYBAR_BAR_HEIGHT=75
export POLYBAR_BAR_TRAY_MAXSIZE=40
export POLYBAR_FONT_0_SIZE=21
Expand Down
2 changes: 1 addition & 1 deletion home/.scripts/generate_configs_dependent_on_screen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source_env_vars() {

envsubst_tpl() {
envsubst < "$HOME/.config/dunst/dunstrc.tpl" > "$HOME/.config/dunst/dunstrc"
envsubst < "$HOME/.config/termite/config.tpl" > "$HOME/.config/termite/config"
envsubst < "$HOME/.config/alacritty/alacritty.toml.tpl" > "$HOME/.config/alacritty/alacritty.toml"
envsubst < "$HOME/.mozilla/firefox/profiles/diego/user.js.tpl" > "$HOME/.mozilla/firefox/profiles/diego/user.js"
envsubst '$I3_FONT_SIZE $I3_GOOGLE_CHROME_SCALE_FACTOR $I3_SCRATCHPAD_TERMINAL_SIZE $I3_SCRATCHPAD_MAXIMUM_FLOATING_SIZE' < "$HOME/.config/i3/config.tpl" > "$HOME/.config/i3/config"
envsubst '$POLYBAR_BAR_HEIGHT $POLYBAR_BAR_TRAY_MAXSIZE $POLYBAR_FONT_0_SIZE $POLYBAR_FONT_1_SCALE $POLYBAR_FONT_2_SIZE $POLYBAR_FONT_3_SIZE' < "$HOME/.config/polybar/config.tpl" > "$HOME/.config/polybar/config"
Expand Down
1 change: 0 additions & 1 deletion packages/foreign_pkglist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ ruff-lsp
slack-desktop
smem
sql-language-server
termite
terraform-ls
tflint
tmux-plugin-manager
Expand Down
1 change: 1 addition & 0 deletions packages/pkglist.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
alacritty
android-file-transfer
arch-audit
atool
Expand Down

0 comments on commit e219266

Please sign in to comment.