summaryrefslogtreecommitdiff
path: root/rmpc/.config
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-07-24 23:36:49 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-07-24 23:36:49 +0700
commit9f9921e9d32128f93b7237d51ce0af821120fc11 (patch)
tree58a46923be8859d21fa662d60f1e4991da0a4b0f /rmpc/.config
parent395c08d0a334cdffbcc370384bee67f19f964399 (diff)
frst
Diffstat (limited to 'rmpc/.config')
-rw-r--r--rmpc/.config/rmpc/config.ron86
-rw-r--r--rmpc/.config/rmpc/theme.ron47
2 files changed, 133 insertions, 0 deletions
diff --git a/rmpc/.config/rmpc/config.ron b/rmpc/.config/rmpc/config.ron
new file mode 100644
index 0000000..694a767
--- /dev/null
+++ b/rmpc/.config/rmpc/config.ron
@@ -0,0 +1,86 @@
+#![enable(implicit_some)]
+#![enable(unwrap_newtypes)]
+#![enable(unwrap_variant_newtypes)]
+
+(
+ address: "127.0.0.1:6600",
+ max_fps: 180,
+
+ music_dir: "/mnt/giga/music",
+ lyrics_dir: "/mnt/giga/music", //
+ theme: "~/.config/rmpc/theme.ron",
+
+ album_art: (
+ method: Kitty,
+ max_size_px: (width: 600, height: 600),
+ ),
+ lyrics: (
+ fetch: true,
+ ),
+ tabs: [
+ (
+ name: "Player",
+ pane: Split(
+ direction: Horizontal,
+ panes: [
+ (
+ size: "40%",
+ pane: Split(
+ direction: Vertical,
+ panes: [
+ (size: "55%", pane: Pane(AlbumArt)),
+ (size: "45%", pane: Pane(Lyrics)),
+ ]
+ )
+ ),
+ (
+ size: "60%",
+ pane: Split(
+ direction: Vertical,
+ panes: [
+ (size: "1", pane: Pane(QueueHeader())),
+ (size: "100%", pane: Pane(Queue)),
+ ]
+ )
+ ),
+ ],
+ ),
+ ),
+ (name: "Files", pane: Pane(Directories)),
+ (name: "Artists", pane: Pane(Artists)),
+ (name: "Playlists", pane: Pane(Playlists)),
+ (name: "Search", pane: Pane(Search)),
+ ],
+
+ keybinds: (
+ global: {
+ "1": SwitchToTab("Player"),
+ "2": SwitchToTab("Files"),
+ "3": SwitchToTab("Artists"),
+ "4": SwitchToTab("Playlists"),
+ "5": SwitchToTab("Search"),
+ "/": SwitchToTab("Search"),
+
+ "<Space>": TogglePause,
+ "+": VolumeUp,
+ "-": VolumeDown,
+ "n": NextTrack,
+ "b": PreviousTrack,
+
+ "<Right>": SeekForward,
+ "<Left>": SeekBack,
+ ">": SeekForward,
+ "<": SeekBack,
+
+ "r": ToggleRepeat,
+ "s": ToggleSingle,
+ "c": ToggleConsume,
+ "z": ToggleRandom,
+ },
+ navigation: {
+ "v": Select,
+ "Enter": Select,
+ "l": Select,
+ },
+ ),
+)
diff --git a/rmpc/.config/rmpc/theme.ron b/rmpc/.config/rmpc/theme.ron
new file mode 100644
index 0000000..f23418a
--- /dev/null
+++ b/rmpc/.config/rmpc/theme.ron
@@ -0,0 +1,47 @@
+#![enable(implicit_some)]
+#![enable(unwrap_newtypes)]
+#![enable(unwrap_variant_newtypes)]
+
+(
+ show_song_table_header: true,
+
+ song_table_format: [
+ (
+ prop: (kind: Property(Position)),
+ width: "3",
+ alignment: Right,
+ label: "#"
+ ),
+ (
+ prop: (kind: Property(Title), default: (kind: Property(Filename))),
+ width: "45%",
+ alignment: Left,
+ label: "Title"
+ ),
+ (
+ prop: (kind: Property(Artist), default: (kind: Text("Unknown"))),
+ width: "35%",
+ alignment: Left,
+ label: "Artist"
+ ),
+ (
+ prop: (kind: Property(Duration)),
+ width: "15%",
+ alignment: Right,
+ label: "Time"
+ ),
+ ],
+
+ text_color: None,
+ borders_style: (fg: "#4c566a"),
+
+ highlighted_item_style: (fg: "#81a1c1", modifiers: "Bold"),
+ current_item_style: (fg: "#88c0d0", modifiers: "Bold | Reversed"),
+
+ lyrics: (
+ unplayed_style: (fg: "#4c566a"),
+ played_style: (fg: "#88c0d0", modifiers: "Bold"),
+ dir: "/mnt/giga/music/",
+ fetch: true,
+ ),
+)