diff options
| author | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2022-01-07 06:44:53 +0100 |
|---|---|---|
| committer | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2022-01-07 06:44:53 +0100 |
| commit | 6be411104ff3268b4a7cc16f39242871b4da09bd (patch) | |
| tree | 1ce999924d138b8bd2f2d50beefc19c6dddf5828 | |
| parent | b3a2404a9fb3ba7a9ad1acc967629b6223ce364f (diff) | |
| download | dotfiles-6be411104ff3268b4a7cc16f39242871b4da09bd.tar.gz dotfiles-6be411104ff3268b4a7cc16f39242871b4da09bd.tar.bz2 dotfiles-6be411104ff3268b4a7cc16f39242871b4da09bd.zip | |
Fixing qutebrowser font on Darwin, Added qutebrowser install link on Darwin
| -rw-r--r-- | config/alacritty/alacritty.darwin.yml | 1 | ||||
| -rw-r--r-- | config/qutebrowser/config.py | 6 | ||||
| -rwxr-xr-x | 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("<Command-Return>", "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 @@ -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 |
