Compare commits
3 Commits
b470f1cf43
...
master
Author | SHA1 | Date | |
---|---|---|---|
a102274416
|
|||
d14ab2d7ff
|
|||
5df3b86fc9
|
1
.brew_programs_disable
Normal file
1
.brew_programs_disable
Normal file
@@ -0,0 +1 @@
|
||||
example
|
@@ -18,8 +18,26 @@ bindings = [
|
||||
[font]
|
||||
size = 22
|
||||
|
||||
# [font.normal]
|
||||
# family = "Terminess Nerd Font"
|
||||
# style = "Regular"
|
||||
|
||||
# # [font.bold]
|
||||
# # family = "Teminess Nerd Font"
|
||||
# # style = "Bold"
|
||||
|
||||
# [font.bold_italic]
|
||||
# family = "Terminess Nerd Font"
|
||||
# style = "Bold Italic"
|
||||
|
||||
# [font.italic]
|
||||
# family = "Terminess Nerd Font"
|
||||
# style = "Italic"
|
||||
|
||||
|
||||
# Comic code
|
||||
[font.normal]
|
||||
family = "Terminess Nerd Font"
|
||||
family = "Comic Code Ligatures"
|
||||
style = "Regular"
|
||||
|
||||
# [font.bold]
|
||||
@@ -27,16 +45,20 @@ style = "Regular"
|
||||
# style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "Terminess Nerd Font"
|
||||
family = "Comic Code"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
family = "Terminess Nerd Font"
|
||||
family = "Comic Code"
|
||||
style = "Italic"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
y = -6
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = 0
|
||||
y = -2
|
||||
|
||||
# [mouse.hints]
|
||||
# modifiers = "Command"
|
||||
@@ -44,10 +66,6 @@ y = 0
|
||||
# [mouse.hints.launcher]
|
||||
# program = "open"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
|
||||
|
@@ -446,15 +446,20 @@ function install_brew_programs() {
|
||||
INSTALLED_PROGRAMS=$(brew list)
|
||||
while IFS='' read -r line; do LIST_OF_PROGRAMS+=("$line"); done < <(cat "$HOME"/.brew_programs)
|
||||
while IFS='' read -r line; do LIST_OF_PROGRAMS_CASK+=("$line"); done < <(cat "$HOME"/.brew_programs_cask)
|
||||
while IFS='' read -r line; do LIST_OF_PROGRAMS_DISABLE+=("$line"); done < <(cat "$HOME"/.brew_programs_disable)
|
||||
|
||||
for i in "${LIST_OF_PROGRAMS[@]}"; do
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] \
|
||||
&& \
|
||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
||||
brew install $i --force
|
||||
fi
|
||||
done
|
||||
|
||||
for i in "${LIST_OF_PROGRAMS_CASK[@]}"; do
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] \
|
||||
&& \
|
||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
||||
brew install $i --cask --force
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user