-
Hi, I would like to disable the graphs for the current day in the Hourly forecasts. I don't want to change font or terminal, so the alternative would be to disable the graph. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 42 comments 25 replies
-
Thanks for opening the issue and info for reproduction! Currently, it can not be disabled, unfortunately. I've scheduled some time in the next days to work on the app. I'll do my best to implement something like this and to fix the graph, so it works with more terminal/font combinations. |
Beta Was this translation helpful? Give feedback.
-
Hey again @0323pin,
Due to the "oversized" nerd icons and the missing symbols, I guess the issue comes down to a not fully up-to-date version of the font that you are using. What's also visible on the screenshot is that the superscripted precipitation units are also not patched into that version. So disabling the graph would still result in missing icons. I've experienced similar problems with patched fonts when installing them via the package manager. This is how it looks reproducing the issue with latest There are still some small missplacements in the graph symbols which is down to alacritty not the font. I will check on the possibilites to fix this, but it's already usable I would say. For now, would this be another alternative you are willing to use? |
Beta Was this translation helpful? Give feedback.
-
This looks good enough 😄 I did fetch the font from the nerdfonts site. I'll refetch them as it was probably over a year ago since I've installed them. Would you mind sharing your |
Beta Was this translation helpful? Give feedback.
-
Let me know how it goes. I think if it works, it's fair enough to have the latest nerd fonts as a requirement for the app to work. Sure, I'll post it below. alacritty.ymlwindow:
padding:
x: 0
y: 0
opacity: 0.95
# Font configuration
font:
normal:
# Font family
#
# Default:
# - (macOS) Monaco
# - (Linux/BSD) monospace
# - (Windows) Consolas
# family: JetBrainsMono Nerd Font Mono
family: FantasqueSansMono Nerd Font Mono
# The `style` can be specified to pick a specific face.
style: Regular
bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
# family: Roboto Mono for Powerline
# The `style` can be specified to pick a specific face.
style: SemiBold
italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
# family: Roboto Mono for Powerline
family: JetBrainsMono
# The `style` can be specified to pick a specific face.
style: Italic
bold_italic:
# Font family
#
# If the bold italic family is not specified, it will fall back to the
# value specified for the normal font.
# family: Roboto Mono for Powerline
# The `style` can be specified to pick a specific face.
style: SemiBold Italic
# Point size
size: 10
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
offset:
x: 0
y: 2
# Glyph offset determines the locations of the glyphs within their cells with
# the default being at the bottom. Increasing `x` moves the glyph to the right,
# increasing `y` moves the glyph upwards.
glyph_offset:
x: 0
y: 0
# Thin stroke font rendering (macOS only)
#
# Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false`
#
# macOS >= 10.14.x:
#
# If the font quality on non-retina display looks bad then set
# `use_thin_strokes` to `true` and enable font smoothing by running the
# following command:
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
#
# This is a global setting and will require a log out or restart to take
# effect.
use_thin_strokes: true
# If `true`, bold text is drawn using the bright color variants.
# draw_bold_text_with_bright_colors: true
key_bindings:
# (Windows, Linux, and BSD only)
# - { key: Return, action: None }
#- { key: C, mods: Control|Shift, action: Copy }
#- { key: Insert, mods: Shift, action: PasteSelection }
#- { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: ResetFontSize }
- { key: Plus, mods: Control|Shift, action: IncreaseFontSize }
- { key: Minus, mods: Control, action: DecreaseFontSize }
schemes:
# Tokyo Night theme, based on both:
# https://github.com/ghifarit53/tokyonight-vim
# https://github.com/enkia/tokyo-night-vscode-theme
tokyo-night: &tokyo-night # Default colors
primary:
# background: "0x1a1b26"
# background: "0x222638"
background: "0x282A36"
foreground: "0xa9b1d6"
# Normal colors
normal:
black: "0x32344a"
red: "0xf7768e"
green: "0x9ece6a"
yellow: "0xe0af68"
blue: "0x7aa2f7"
magenta: "0xad8ee6"
cyan: "0x449dab"
white: "0x787c99"
# Bright colors
bright:
black: "0x444b6a"
red: "0xff7a93"
green: "0xb9f27c"
yellow: "0xff9e64"
blue: "0x7da6ff"
magenta: "0xbb9af7"
cyan: "0x0db9d7"
white: "0xacb0d0"
tokyo-night-storm: &tokyo-night-storm # Default colors
primary:
background: "0x24283b"
foreground: "0xa9b1d6"
# Normal colors
normal:
black: "0x32344a"
red: "0xf7768e"
green: "0x9ece6a"
yellow: "0xe0af68"
blue: "0x7aa2f7"
magenta: "0xad8ee6"
cyan: "0x449dab"
white: "0x9699a8"
# Bright colors
bright:
black: "0x444b6a"
red: "0xff7a93"
green: "0xb9f27c"
yellow: "0xff9e64"
blue: "0x7da6ff"
magenta: "0xbb9af7"
cyan: "0x0db9d7"
white: "0xacb0d0"
# Dracula theme for Alacritty
# https://draculatheme.com/alacritty
#
# Color palette
# https://spec.draculatheme.com
#
# Template
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml
dracula: &dracula
primary:
background: "#282a36"
foreground: "#f8f8f2"
bright_foreground: "#ffffff"
cursor:
text: CellBackground
cursor: CellForeground
vi_mode_cursor:
text: CellBackground
cursor: CellForeground
search:
matches:
foreground: "#44475a"
background: "#50fa7b"
focused_match:
foreground: "#44475a"
background: "#ffb86c"
bar:
background: "#282a36"
foreground: "#f8f8f2"
hints:
start:
foreground: "#282a36"
background: "#f1fa8c"
end:
foreground: "#f1fa8c"
background: "#282a36"
line_indicator:
foreground: None
background: None
selection:
text: CellForeground
background: "#44475a"
normal:
black: "#21222c"
red: "#ff5555"
green: "#50fa7b"
yellow: "#f1fa8c"
blue: "#bd93f9"
magenta: "#ff79c6"
cyan: "#8be9fd"
white: "#f8f8f2"
bright:
black: "#6272a4"
red: "#ff6e6e"
green: "#69ff94"
yellow: "#ffffa5"
blue: "#d6acff"
magenta: "#ff92df"
cyan: "#a4ffff"
white: "#ffffff"
colors: *tokyo-night |
Beta Was this translation helpful? Give feedback.
-
@tobealive Using As you can see, there are still issues. Also, I don't know why colors are missing but, as said, I'll dig further. |
Beta Was this translation helpful? Give feedback.
-
Okay, seems we are coming closer. Running kitty in font debug mode I found out that the terminal uses Alacritty will most certainly have a debug mode too. Does it tell you which font is missing then? |
Beta Was this translation helpful? Give feedback.
-
Wonder why it's looking for other fonts. Apparently, looking for a Roman variant.
|
Beta Was this translation helpful? Give feedback.
-
Yep, I'm a bit stumped here too and would have to dig further as well. I will also try my luck reproducing it later this week. @0323pin it's NetBSD you are using right? Then I'd have something to debug, and trying to implement working variants wouldn't just be blind shots. And if extending the list of requirements is the only thing necessary to allow unimpaired usage of the app while users can use their preferred terminal and font, it's the solution I prefer for now. |
Beta Was this translation helpful? Give feedback.
-
@tobealive Yes, I'm using NetBSD but, before anything else, I'd like to give it a try on another laptop where I have Void Linux on top of Will give it a shot tonight and report back here. |
Beta Was this translation helpful? Give feedback.
-
@tobealive The good news is, ... Same fantasqueSansMono on So, something is wrong with And with |
Beta Was this translation helpful? Give feedback.
-
Had to use a mint live boot and did a test here. Could reproduce the kitty / alacritty situation. But no problems with colors being applied. It will be another thing to find out why you are running short on those when using netbsd, looks good on void. I'll dig further after work and report back. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I have basically the same All the apps displayed on the screenshot are written in Rust. Clockwise: EDIT: Void alacritty, NetBSD alacritty EDIT 2: As for the |
Beta Was this translation helpful? Give feedback.
-
Some of the discoveries:
Let me know if you can make use of something of it. |
Beta Was this translation helpful? Give feedback.
-
I'll look at this tonight.
Installing NetBSD for the first time can be a slight wtf. But, if we need to go there, I'm here to help 😄 |
Beta Was this translation helpful? Give feedback.
-
Yes, of course. Do you have a clue what the symbol is called?
Maybe I should write a guide 😄 |
Beta Was this translation helpful? Give feedback.
-
Bare with me, there're several versions of NetBSD at any given time. What is the URL inside
Yes, I know. You have to tell
Build it using pkgsrc, i.e.
The only thing I'm missing right now is the precipitation unit icon. |
Beta Was this translation helpful? Give feedback.
-
I'll explain off-line but, it's possible to get you more up-to-date. |
Beta Was this translation helpful? Give feedback.
-
@tobealive you got mail 😄 |
Beta Was this translation helpful? Give feedback.
-
got the deps for the icon 🕵♂
also, the default graph now works like in other distros with alacritty (with small placement issues)! edit: I'm not 100% sure if unicode-emoji is necessary. But it certainly does not work without noto. |
Beta Was this translation helpful? Give feedback.
-
Great stuff. Edit: I see it's available in our repositories. Although, I'm really concern with the need for Thanks for digging into this until the end. Edit 2: What am I missing to get colors? Or, maybe it's just my
|
Beta Was this translation helpful? Give feedback.
-
All good!
Maybe I should post on unixporn and do some PR for the app. |
Beta Was this translation helpful? Give feedback.
-
I can wait, no problem :) |
Beta Was this translation helpful? Give feedback.
-
Just built 0.6.0, will merge tomorrow, though I need to get some sleep. |
Beta Was this translation helpful? Give feedback.
-
@tobealive http://mail-index.netbsd.org/pkgsrc-changes/2022/12/01/msg264462.html :) |
Beta Was this translation helpful? Give feedback.
-
Hi @tobealive Should I just ignore 0.10.0 and wait for 1.0.0 ? Usually we don't provide packages for release candidate versions. We should be releasing the next iteration of stable packages in two weeks from now. Regards |
Beta Was this translation helpful? Give feedback.
-
Hey @0323pin, nice to hear from you. I hope it's goin well! I messed up a bit with semantic versioning. Since the peciding versions weren't marked with I have bumped to SemVer ref: https://semver.org/#spec-item-11. |
Beta Was this translation helpful? Give feedback.
-
Merged, https://mail-index.netbsd.org/pkgsrc-changes/2023/03/11/msg270812.html 👍 |
Beta Was this translation helpful? Give feedback.
-
@tobealive the crates.io package was updated but, the version was not bumped. Please, please, please, don't do this. It breaks the checksums of our package and will cause build failures on our building machines 😢 |
Beta Was this translation helpful? Give feedback.
I have added some style variants in recent days. They'll be included in the coming release.
You can choose from a set of graph variant's (
'lines'
|'lines_shallow'
|'dots'
|'dots_double'
). The variant that was used beforelines
is kept as default because it has the most levels to use on one printed line. But all the others work well in alacritty.Also, the help information for the forecast option is better accessible now.