Compare commits

...

2 Commits

Author SHA1 Message Date
David Thurstenson f5fbe7a30e docs: update dotfiles/bpytop 2024-03-09 02:54:44 +00:00
David Thurstenson d73741e567 docs: update dotfiles/greetd 2024-03-09 02:51:48 +00:00
2 changed files with 12 additions and 10 deletions

View File

@ -2,7 +2,7 @@
title: bpytop
description:
published: true
date: 2024-03-09T02:08:03.126Z
date: 2024-03-09T02:54:43.138Z
tags:
editor: markdown
dateCreated: 2024-03-09T02:08:03.126Z
@ -20,12 +20,14 @@ The graph drawing uses the [Braille Patterns](https://en.wikipedia.org/wiki/Brai
Here are some ways to fix that on Arch Linux:
### Method 1: remove `gnu-free-fonts`
### Tabs {.tabset}
#### Method 1: remove `gnu-free-fonts`
When some package requires `ttf-font`, this package usually gets chosen. However, the fonts are kind of ass, so as long as you have another package that provides `ttf-font`, you're ok to remove `gnu-free-fonts`
### Method 2: Install an overriding font
#### Method 2: Install an overriding font
Sometimes you can find font packages that come pre-configured as preferential, and also cover the target glyphs. Some examples:
@ -35,6 +37,6 @@ Sometimes you can find font packages that come pre-configured as preferential, a
I'll add to this list when I find more that work like this out of the box
### Method 3: Explicitly configure font fallbacks
#### Method 3: Explicitly configure font fallbacks
Start by identifying a font that you want to use, and covers the braille characters, then set that as a default or fallback font per [these instructions from the Arch Wiki](https://wiki.archlinux.org/title/Font_configuration#Set_default_or_fallback_fonts)

View File

@ -2,7 +2,7 @@
title: Greetd
description:
published: true
date: 2024-03-09T02:49:24.073Z
date: 2024-03-09T02:51:47.111Z
tags:
editor: markdown
dateCreated: 2024-03-09T01:26:21.021Z
@ -21,14 +21,14 @@ dateCreated: 2024-03-09T01:26:21.021Z
## Running a browser tab/window
## Running `bpytop` (or any other terminal program) {.tabset}
## Running `bpytop` (or any other terminal program)
[`bpytop`](https://github.com/aristocratos/bpytop) is a great little resource monitor. I have a server with a small display that doesn't do much but show a login screen all day, and I figured why not just have the display run a resource monitor?
> Don't forget to [fix the graphs](/dotfiles/bpytop#fix-the-graphs) {.is-info}
### Method 1: Direct to the VT
### Tabs {.tabset}
#### Method 1: Direct to the VT
You can launch any program directly to the VT and skip the X server or Wayland compositor nonsense. However, keep in mind that the VT can be pretty limited when it comes to the features we expect from a modern terminal program.
@ -41,7 +41,7 @@ command = "bpytop"
user = "thurstylark"
```
### Method 2: Using `fbterm`
#### Method 2: Using `fbterm`
[`fbterm`](https://wiki.archlinux.org/title/Fbterm) is a **f**rame **b**uffer **term**inal emulator which basically boils down to being a better VT.
@ -55,7 +55,7 @@ user = "thurstylark"
This should give you more flexibility with font sizing and configuration through `fbterm`'s [configuration file](https://wiki.archlinux.org/title/Fbterm#Configuration_file).
### Method 3: Using `cage` and a graphical terminal emulator
#### Method 3: Using `cage` and a graphical terminal emulator
This will be less performant than the other methods, but will afford you many more features. This is the method I actually use for this use-case.