summaryrefslogtreecommitdiff
path: root/.config/rmpc/config.ron
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-08-23 18:07:29 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-08-23 18:07:29 +0700
commited3e8f6ec6929327ab19e512ffb0d8ece12ed5a8 (patch)
treef1a783af87d29b8d78ce20df5a485f92b8c32d5d /.config/rmpc/config.ron
parent3c71645d355910b6998e97a1efca6f5a7c7608bc (diff)
reorganize directories, so everything in .config
Diffstat (limited to '.config/rmpc/config.ron')
-rw-r--r--.config/rmpc/config.ron84
1 files changed, 84 insertions, 0 deletions
diff --git a/.config/rmpc/config.ron b/.config/rmpc/config.ron
new file mode 100644
index 0000000..765d13b
--- /dev/null
+++ b/.config/rmpc/config.ron
@@ -0,0 +1,84 @@
+#![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: Sixel,
+ max_size_px: (width: 1600, height: 1600),
+ ),
+ 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: {
+ "Enter": Select,
+ },
+ ),
+)