summaryrefslogtreecommitdiff
path: root/rmpc/.config/rmpc/config.ron
diff options
context:
space:
mode:
Diffstat (limited to 'rmpc/.config/rmpc/config.ron')
-rw-r--r--rmpc/.config/rmpc/config.ron86
1 files changed, 86 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,
+ },
+ ),
+)