mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-04 03:37:18 +00:00
UI Overhaul
- Windows support: drift now runs natively on Windows, using named pipes instead of Unix sockets. - Song context menu: press G on any song for quick actions like play, queue, add to playlist, and song info - Redesined command menu: the : prompt has a new, cleaner design - Visualizer: a live audio visualizer now sits in the bottomleft corner - Keybind hints: the most useful shortcuts are showen next to the volume control
This commit is contained in:
parent
9c6b54b705
commit
1d579f5311
12 changed files with 1088 additions and 160 deletions
|
|
@ -17,8 +17,7 @@ pub struct Session {
|
|||
|
||||
impl Session {
|
||||
fn path() -> Result<PathBuf> {
|
||||
let dir = dirs::state_dir()
|
||||
.or_else(dirs::data_local_dir)
|
||||
let dir = crate::store::state_base()
|
||||
.ok_or_else(|| anyhow!("cannot determine state directory"))?;
|
||||
Ok(dir.join("drift").join("session.json"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue