cleanup and rmpc

This commit is contained in:
Matt Nish-Lapidus 2025-05-04 13:41:56 -04:00
parent 6e5342861c
commit b330c1c08e
4 changed files with 40 additions and 40 deletions

48
flake.lock generated
View file

@ -90,11 +90,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1746203026, "lastModified": 1746375743,
"narHash": "sha256-SyXvOYSdP5AeWBZ9Bh0R//o3qJb9MOa5p3aIUqZ5RnI=", "narHash": "sha256-8Vv393fOQ4/oo7gmoAvziIMvtJqXH9oIyjMZ6Hx+P44=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "a738f51b28507d1c68ec612d75840a6165ebe1bf", "rev": "a281243eaec6ac810584f2a73126e8dd48c3a15e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -378,11 +378,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1746204974, "lastModified": 1746369725,
"narHash": "sha256-Evu4H0/kzaQoCNLGQTp+JGTqkywzPx0IAo20Ci2zNck=", "narHash": "sha256-m3ai7LLFYsymMK0uVywCceWfUhP0k3CALyFOfcJACqE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1e8c62c651242fc685b10efc4a48ab777635fb7f", "rev": "1a1793f6d940d22c6e49753548c5b6cb7dc5545d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -540,11 +540,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1745997160, "lastModified": 1746281087,
"narHash": "sha256-gTFloyC0x68Uy4qLfGwZSu0YYR4ZeB/7YiBwoglkVOw=", "narHash": "sha256-9amK5DEpueAD+aobmBmjbV+C16RO7lcDOdf5ucJtNvM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlock", "repo": "hyprlock",
"rev": "0e3e7206bc248d154dbafb6f7acd7d6d3ad2ff93", "rev": "6c64630df81b52208b210f02476f55e4db56e6cf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -930,11 +930,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1745955289, "lastModified": 1746341346,
"narHash": "sha256-mmV2oPhQN+YF2wmnJzXX8tqgYmUYXUj3uUUBSTmYN5o=", "narHash": "sha256-WjupK5Xpc+viJlJWiyPHp/dF4aJItp1BPuFsEdv2/fI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "72081c9fbbef63765ae82bff9727ea79cc86bd5b", "rev": "0833dc8bbc4ffa9cf9b0cbfccf1c5ec8632fc66e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -988,11 +988,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1746055187, "lastModified": 1746183838,
"narHash": "sha256-3dqArYSMP9hM7Qpy5YWhnSjiqniSaT2uc5h2Po7tmg0=", "narHash": "sha256-kwaaguGkAqTZ1oK0yXeQ3ayYjs8u/W7eEfrFpFfIDFA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e362ce63e16b9572d8c2297c04f7c19ab6725a5", "rev": "bf3287dac860542719fe7554e21e686108716879",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1084,11 +1084,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1746141548, "lastModified": 1746232882,
"narHash": "sha256-IgBWhX7A2oJmZFIrpRuMnw5RAufVnfvOgHWgIdds+hc=", "narHash": "sha256-MHmBH2rS8KkRRdoU/feC/dKbdlMkcNkB5mwkuipVHeQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f02fddb8acef29a8b32f10a335d44828d7825b78", "rev": "7a2622e2c0dbad5c4493cb268aba12896e28b008",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1530,11 +1530,11 @@
}, },
"locked": { "locked": {
"dir": "nix", "dir": "nix",
"lastModified": 1746194391, "lastModified": 1746365493,
"narHash": "sha256-FAPOdiIHbc/v5We6/+SBjDHQ8J27145QtV/onDyDsQ0=", "narHash": "sha256-8Js+cgkK9cHcJFBSSbLQoOnojYY4I6F4vGBq3zoUId8=",
"owner": "wez", "owner": "wez",
"repo": "wezterm", "repo": "wezterm",
"rev": "d4b50f6cc34aa0d8729f0914e1926ee6c6e19369", "rev": "dd3caaae34e0c8557e9f2b4557b573fe2cdb37dd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1608,11 +1608,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1746209831, "lastModified": 1746379089,
"narHash": "sha256-1R1MRxHmTbNUASTCdJTaaIEUevx18+XpVVxEcb0q7VM=", "narHash": "sha256-JRwPB7Ur2/jfNFyrPcdVc4hzKrdKsAPAb9hADPYgLg4=",
"owner": "sxyazi", "owner": "sxyazi",
"repo": "yazi", "repo": "yazi",
"rev": "a201c93419bede1f35c69a6b8b21ebbf4a752e6e", "rev": "c53865788a5ec08e10d8785343481af16d24fb05",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -16,6 +16,7 @@
status_update_interval_ms: 1000, status_update_interval_ms: 1000,
select_current_song_on_change: false, select_current_song_on_change: false,
browser_song_sort: [Disc, Track, Artist, Title], browser_song_sort: [Disc, Track, Artist, Title],
directories_sort: ModifiedTime(group_directories_first: true, reverse: true),
album_art: ( album_art: (
method: Auto, method: Auto,
max_size_px: (width: 1200, height: 1200), max_size_px: (width: 1200, height: 1200),
@ -32,13 +33,13 @@
"<Tab>": NextTab, "<Tab>": NextTab,
"<S-Tab>": PreviousTab, "<S-Tab>": PreviousTab,
"1": SwitchToTab("Queue"), "1": SwitchToTab("Queue"),
# "2": SwitchToTab("Recently Added"), "2": SwitchToTab("Latest"),
"2": SwitchToTab("Genre"), "3": SwitchToTab("Genre"),
"3": SwitchToTab("Artists"), "4": SwitchToTab("Artists"),
"4": SwitchToTab("Album Artists"), "5": SwitchToTab("Album Artists"),
"5": SwitchToTab("Albums"), "6": SwitchToTab("Albums"),
"6": SwitchToTab("Playlists"), "7": SwitchToTab("Playlists"),
"7": SwitchToTab("Search"), "8": SwitchToTab("Search"),
"q": Quit, "q": Quit,
">": NextTrack, ">": NextTrack,
"p": TogglePause, "p": TogglePause,
@ -119,10 +120,10 @@
name: "Queue", name: "Queue",
pane: Pane(Queue), pane: Pane(Queue),
), ),
# ( (
# name: "Recently Added", name: "Latest",
# pane: Pane(Browser(root_tag: "album", separator: ";")), pane: Pane(Directories),
# ), ),
( (
name: "Genre", name: "Genre",
pane: Pane(Browser(root_tag: "genre", separator: ";")), pane: Pane(Browser(root_tag: "genre", separator: ";")),

View file

@ -141,8 +141,7 @@ in {
"status-icons" = { "status-icons" = {
"paused" = ""; "paused" = "";
}; };
"on-click-right" = "$HOME/.local/bin/wezapp ncmpcpp"; "on-click-right" = "$HOME/.local/bin/wezapp rmpc";
}; };
"wlr/taskbar" = { "wlr/taskbar" = {

View file

@ -9,17 +9,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rmpc"; pname = "rmpc";
version = "0.9.0"; version = "master";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mierak"; owner = "mierak";
repo = "rmpc"; repo = "rmpc";
rev = "master"; rev = "master";
hash = "sha256-2RVP00aVtrs7F7ZJBCVoy5JL7uIR+m1AZ2HCs7pebKE="; hash = "sha256-Lxu9x+LBnNOxEFE2CcQ3yiji4t2B9OIy1TW4jPDTJBk=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-aUvG3+PrG9xjkGyXXDE+deke4y1rbz59T/bI3+X3Khs="; cargoHash = "sha256-RQ0ibBFkVq7KgYrbMeIgTBSDJbCLCea/ThhbJgOuKxk=";
checkFlags = [ checkFlags = [
# Test currently broken, needs to be removed. See https://github.com/mierak/rmpc/issues/254 # Test currently broken, needs to be removed. See https://github.com/mierak/rmpc/issues/254