fix: miscellaneous tweaks
formatting fixes, README tweak
diff --git a/README.md b/README.md
@@ -57,12 +57,12 @@ makepkg -si
- `c` - Copy track name/artist to clipboard
- `C` - Copy full track metadata to clipboard
- `o`/`Enter` - Open album info in browser
-- `Tab` - Switch between the library and player
+- `Tab` - Cycle tabs in interface
- `?` - Show the help menu
- `q/^c` - Quit
## Configuration
-If grrs is launched and there is no existing ~/.config/grrs/config.toml, it will be generated with the default values. To configure the software, create or edit ~/.config/grrs/config.toml, and consult config.toml.example in the root of this repository for available options that can be set.
+If `grrs` is launched and there is no existing `~/.config/grrs/config.toml`, it will be generated with the default values. To configure the software, create or edit `~/.config/grrs/config.toml`, and consult `config.toml.example` in the root of this repository for available options that can be set.
## Disclaimer
This is one of my first real projects using Rust. A significant portion of this codebase was co-written with the help of Gemini 3.1 Pro. While it works great for my use-case, the internals might not be the best Rust you've ever seen.
diff --git a/pkg/grrs-git/PKGBUILD b/pkg/grrs-git/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Myn <hello@myn.sh>
pkgname=grrs-git
-pkgver=r33.e6c209c
+pkgver=r34.773521c
pkgrel=1
pkgdesc="A minimal TUI for Gensokyo Radio"
arch=('x86_64')
diff --git a/src/app.rs b/src/app.rs
@@ -1,6 +1,5 @@
use std::{
- collections::HashMap,
- collections::hash_map::DefaultHasher,
+ collections::{HashMap, hash_map::DefaultHasher},
env, fs,
hash::{Hash, Hasher},
path::PathBuf,
diff --git a/src/input.rs b/src/input.rs
@@ -9,8 +9,10 @@ use crossterm::event::{Event as CEvent, KeyCode, KeyModifiers, MouseButton, Mous
use ratatui_image::picker::Picker;
use tokio::sync::mpsc;
-use crate::app::{AppEvent, AppMode, AppState};
-use crate::models::LikedSong;
+use crate::{
+ app::{AppEvent, AppMode, AppState},
+ models::LikedSong,
+};
pub struct InputOutcome {
pub should_quit: bool,