diff --git a/config/alacritty.toml b/config/alacritty.toml new file mode 100644 index 0000000..d819db9 --- /dev/null +++ b/config/alacritty.toml @@ -0,0 +1,96 @@ + +[[keyboard.bindings]] +action = "ResetFontSize" +key = "Key0" +mods = "Control" + +[[keyboard.bindings]] +action = "IncreaseFontSize" +key = "Equals" +mods = "Control" + +[[keyboard.bindings]] +action = "DecreaseFontSize" +key = "Minus" +mods = "Control" + +[general] +live_config_reload = true + +[[colors.indexed_colors]] +color = "0xf78c6c" +index = 16 + +[[colors.indexed_colors]] +color = "0xff5370" +index = 17 + +[[colors.indexed_colors]] +color = "0x303030" +index = 18 + +[[colors.indexed_colors]] +color = "0x353535" +index = 19 + +[[colors.indexed_colors]] +color = "0xb2ccd6" +index = 20 + +[[colors.indexed_colors]] +color = "0xeeffff" +index = 21 + +[colors.bright] +black = "0x4a4a4a" +blue = "0x82aaff" +cyan = "0x89ddff" +green = "0xc3e88d" +magenta = "0xc792ea" +red = "0xf07178" +white = "0xffffff" +yellow = "0xffcb6b" + +[colors.cursor] +cursor = "0xeeffff" +text = "0x212121" + +[colors.normal] +black = "0x212121" +blue = "0x82aaff" +cyan = "0x89ddff" +green = "0xc3e88d" +magenta = "0xc792ea" +red = "0xf07178" +white = "0xeeffff" +yellow = "0xffcb6b" + +[colors.primary] +background = "0x181a20" +foreground = "0xeeffff" + +[env] +TERM = "alacritty" + +[font] +size = 9 + +[font.bold] +family = "Source Code Pro" + +[font.bold_italic] +family = "Source Code Pro" + +[font.italic] +family = "Source Code Pro" + +[font.normal] +family = "Source Code Pro" + +[window] +opacity = 1.0 +padding = { x = 25, y = 25 } +dynamic_padding = true +decorations = "None" + +[keyboard] diff --git a/config/alacritty.yml b/config/alacritty.yml deleted file mode 100644 index 357a336..0000000 --- a/config/alacritty.yml +++ /dev/null @@ -1,84 +0,0 @@ -#Alacritty: - -env: - TERM: alacritty - -window: - opacity: 1.0 - padding: - x: 25 - y: 25 - - dynamic_padding: true - decoration: none - -font: - normal: - family: Source Code Pro - - bold: - family: Source Code Pro - - italic: - family: Source Code Pro - - bold_italic: - family: Source Code Pro - - size: 9 - -colors: - # Default colors - primary: - background: '0x181a20' - foreground: '0xeeffff' - - # Colors the cursor will use if `custom_cursor_colors` is true - cursor: - text: '0x212121' - cursor: '0xeeffff' - - # Normal colors - normal: - black: '0x212121' - red: '0xf07178' - green: '0xc3e88d' - yellow: '0xffcb6b' - blue: '0x82aaff' - magenta: '0xc792ea' - cyan: '0x89ddff' - white: '0xeeffff' - - # Bright colors - bright: - black: '0x4a4a4a' - red: '0xf07178' - green: '0xc3e88d' - yellow: '0xffcb6b' - blue: '0x82aaff' - magenta: '0xc792ea' - cyan: '0x89ddff' - white: '0xffffff' - - indexed_colors: - - { index: 16, color: '0xf78c6c' } - - { index: 17, color: '0xff5370' } - - { index: 18, color: '0x303030' } - - { index: 19, color: '0x353535' } - - { index: 20, color: '0xb2ccd6' } - - { index: 21, color: '0xeeffff' } - -# cursor: -# style: Underline - -# unfocused_hollow: false - -live_config_reload: true - -key_bindings: - - - { key: Key0, mods: Control, action: ResetFontSize } - - - { key: Equals, mods: Control, action: IncreaseFontSize } - - - { key: Minus, mods: Control, action: DecreaseFontSize } diff --git a/install-on-arch-arcris.sh b/install-on-arch-arcris.sh index c4c6375..10f6c9d 100755 --- a/install-on-arch-arcris.sh +++ b/install-on-arch-arcris.sh @@ -85,13 +85,13 @@ mkdir -p ~/.config/ echo "Installing picom configs..." cp ./config/picom.conf ~/.config/picom.conf; fi - if [ -f ~/.config/alacritty.yml ]; then + if [ -f ~/.config/alacritty.toml ]; then echo "Alacritty configs detected, backing up..." - cp ~/.config/alacritty.yml ~/.config/alacritty.yml.old; - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ~/.config/alacritty.toml ~/.config/alacritty.toml.old; + cp ./config/alacritty.toml ~/.config/alacritty.toml; else echo "Installing alacritty configs..." - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ./config/alacritty.toml ~/.config/alacritty.toml; fi if [ -d ~/.config/dunst ]; then echo "Dunst configs detected, backing up..." diff --git a/install-on-arch.sh b/install-on-arch.sh index 5f0cacb..51d6337 100755 --- a/install-on-arch.sh +++ b/install-on-arch.sh @@ -140,13 +140,13 @@ mkdir -p ~/.config/ echo "Installing picom configs..." cp ./config/picom.conf ~/.config/picom.conf; fi - if [ -f ~/.config/alacritty.yml ]; then + if [ -f ~/.config/alacritty.toml ]; then echo "Alacritty configs detected, backing up..." - cp ~/.config/alacritty.yml ~/.config/alacritty.yml.old; - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ~/.config/alacritty.toml ~/.config/alacritty.toml.old; + cp ./config/alacritty.toml ~/.config/alacritty.toml; else echo "Installing alacritty configs..." - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ./config/alacritty.toml ~/.config/alacritty.toml; fi if [ -d ~/.config/dunst ]; then echo "Dunst configs detected, backing up..." diff --git a/install-on-gentoo.sh b/install-on-gentoo.sh index a3e9333..f3c0d00 100755 --- a/install-on-gentoo.sh +++ b/install-on-gentoo.sh @@ -63,13 +63,13 @@ case $conti in echo "Installing picom configs..." cp ./config/picom.conf ~/.config/picom.conf; fi - if [ -f ~/.config/alacritty.yml ]; then + if [ -f ~/.config/alacritty.toml ]; then echo "Alacritty configs detected, backing up..." - cp ~/.config/alacritty.yml ~/.config/alacritty.yml.old; - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ~/.config/alacritty.toml ~/.config/alacritty.toml.old; + cp ./config/alacritty.toml ~/.config/alacritty.toml; else echo "Installing alacritty configs..." - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ./config/alacritty.toml ~/.config/alacritty.toml; fi if [ -d ~/.config/dunst ]; then echo "Dunst configs detected, backing up..." diff --git a/install-on-ubuntu.sh b/install-on-ubuntu.sh index 1583014..ffcff06 100644 --- a/install-on-ubuntu.sh +++ b/install-on-ubuntu.sh @@ -102,13 +102,13 @@ mkdir -p ~/.config/ echo "Installing picom configs..." cp ./config/picom.conf ~/.config/picom.conf; fi - if [ -f ~/.config/alacritty.yml ]; then + if [ -f ~/.config/alacritty.toml ]; then echo "Alacritty configs detected, backing up..." - cp ~/.config/alacritty.yml ~/.config/alacritty.yml.old; - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ~/.config/alacritty.toml ~/.config/alacritty.toml.old; + cp ./config/alacritty.toml ~/.config/alacritty.toml; else echo "Installing alacritty configs..." - cp ./config/alacritty.yml ~/.config/alacritty.yml; + cp ./config/alacritty.toml ~/.config/alacritty.toml; fi if [ -d ~/.config/dunst ]; then echo "Dunst configs detected, backing up..."