From 6be411104ff3268b4a7cc16f39242871b4da09bd Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 7 Jan 2022 06:44:53 +0100 Subject: Fixing qutebrowser font on Darwin, Added qutebrowser install link on Darwin --- config/alacritty/alacritty.darwin.yml | 1 + config/qutebrowser/config.py | 6 ++---- install | 7 ++++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config/alacritty/alacritty.darwin.yml b/config/alacritty/alacritty.darwin.yml index 1e1debc..beb10ac 100644 --- a/config/alacritty/alacritty.darwin.yml +++ b/config/alacritty/alacritty.darwin.yml @@ -8,6 +8,7 @@ font: offset: x: 0 y: 0 + # brew install font-fira-code-nerd-font normal: family: FiraCode Nerd Font Mono style: Retina diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 269a38c..a6778d9 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -44,7 +44,8 @@ config.bind("", "config-cycle window.hide_decoration true false" c.fonts.default_family = ["Fira Mono", "Baekmuk", "Noto Color Emoji", "Symbola"] c.fonts.hints = "bold 11pt default_family" if platform.system() == 'Darwin': - c.fonts.default_size = '13pt' + c.fonts.default_family = ["FiraCode Nerd Font Mono", "FiraMono"] + c.fonts.default_size = "13pt" c.fonts.hints = "bold 12pt default_family" c.hints.chars = "asdfghjkl;" # use key in the main row for hints @@ -438,6 +439,3 @@ c.colors.tabs.selected.even.bg = base05 # Background color for webpages if unset (or empty to use the theme"s # color). c.colors.webpage.bg = base00 - -# vim:TSBufDisable highlight -# vim:LspStop diff --git a/install b/install index 9cd3aee..cb27d24 100755 --- a/install +++ b/install @@ -96,7 +96,12 @@ parallel_start update_zsh_plugin 'https://github.com/zsh-users/zsh-syntax-highli parallel_start update_zsh_plugin 'https://github.com/MichaelAquilina/zsh-you-should-use' parallel_wait -[ "$(uname)" = Darwin ] && exit +if [ "$(uname)" = Darwin ] +then + # xdg vars not defined for qutebrowser + ln -svfF "$XDG_CONFIG_HOME/qutebrowser" "$HOME/.qutebrowser" + exit +fi ############################################################################### # Linux specific -- cgit