modified: config/Kvantum/kvantum.kvconfig

new file:   config/Kvantum/matugen/matugen.kvconfig
	new file:   config/Kvantum/matugen/matugen.svg
	modified:   config/btop/btop.conf
	new file:   config/btop/themes/matugen.theme
	modified:   config/cava/config
	new file:   config/cava/themes/matugen
	modified:   config/clipse/config.json
	new file:   config/clipse/matugen.json
	modified:   config/fish/config.fish
	modified:   config/fish/fish_variables
	new file:   config/fish/functions/bx.fish
	deleted:    config/fish/functions/fish_prompt.fish
	new file:   config/fish/functions/ntodo.fish
	new file:   config/fish/functions/o.fish
	modified:   config/foot/foot.ini
	new file:   config/foot/themes/input-matugen-theme.ini
	new file:   config/foot/themes/input-matugen-theme.ini.bak
	new file:   config/foot/themes/matugen-theme.ini
	new file:   config/foot/themes/matugen-theme.ini.bak
	modified:   config/foot/themes/theme.ini
	new file:   config/foot/themes/theme.ini.bak
	new file:   config/gtk-2.0/gtkfilechooser.ini
	new file:   config/gtk-3.0/bookmarks
	new file:   config/gtk-3.0/colors.css
	new file:   config/gtk-3.0/colors.css.bak
	new file:   config/gtk-3.0/colors.css.nak
	new file:   config/gtk-3.0/gtk.css
	new file:   config/gtk-3.0/gtk.css.backup
	new file:   config/gtk-3.0/gtk.css.backup.1776208757
	new file:   config/gtk-3.0/settings.ini
	new file:   config/gtk-4.0/assets
	new file:   config/gtk-4.0/colors.css
	new file:   config/gtk-4.0/colors.css.bak
	new file:   config/gtk-4.0/gtk-dark.css
	new file:   config/gtk-4.0/gtk.css
	new file:   config/gtk-4.0/gtk.css.backup
	renamed:    config/niri/dms/windowrules.kdl -> config/gtk-4.0/libadwaita-tweaks.css
	new file:   config/gtk-4.0/libadwaita.css
	new file:   config/gtk-4.0/settings.ini
	new file:   config/hypr/colors-hyprlock.conf
	new file:   config/hypr/colors.conf
	modified:   config/hypr/hyprlock.conf
	modified:   config/hypr/hyprlock.conf.bak
	modified:   config/hypr/hyprtoolkit.conf
	modified:   config/hyprwave/config.conf
	modified:   config/hyprwhspr/config.json
	modified:   config/hyprwhspr/mic_osd.pid
	new file:   config/ironbar/colors.css
	modified:   config/ironbar/config.json
	deleted:    config/ironbar/schema-v0.18.0.json
	new file:   config/ironbar/scripts/clipse.sh
	new file:   config/ironbar/scripts/matugen.sh
	new file:   config/ironbar/scripts/matugen.sh.bak
	modified:   config/ironbar/scripts/pomo
	new file:   config/ironbar/scripts/volume.sh
	modified:   config/ironbar/style.css
	new file:   config/ironbar/style.css.bak
	modified:   config/kitty/current-theme.conf
	deleted:    config/kitty/current-theme1.conf
	deleted:    config/kitty/dank-tabs.conf
	modified:   config/kitty/kitty.conf
	modified:   config/kitty/kitty.conf.bak
	new file:   config/kitty/themes/Matugen.conf
	modified:   config/matugen/config.toml
	deleted:    config/matugen/custom3.json
	new file:   config/matugen/scripts/foot-apply-colors.sh
	new file:   config/matugen/scripts/foot-apply-colors.sh.bak
	new file:   config/matugen/scripts/foot-apply.sh
	new file:   config/matugen/scripts/hyprwave-reload.sh
	new file:   config/matugen/scripts/ironbar-toggle.sh
	new file:   config/matugen/scripts/matugen-foot-apply.sh
	new file:   config/matugen/scripts/swayosd-reload.sh
	new file:   config/matugen/scripts/walker.sh
	new file:   config/matugen/templates/Matugen.colors
	new file:   config/matugen/templates/alacritty.toml
	new file:   config/matugen/templates/btop.theme
	new file:   config/matugen/templates/cava-colors.ini
	new file:   config/matugen/templates/clipse_theme.json
	new file:   config/matugen/templates/colors.css
	new file:   config/matugen/templates/cosmic_postprocess.py
	new file:   config/matugen/templates/cosmic_theme.ron
	new file:   config/matugen/templates/dunstrc-colors
	new file:   config/matugen/templates/firefox-colors.css
	new file:   config/matugen/templates/foot-apply-colors.sh
	new file:   config/matugen/templates/foot.ini
	new file:   config/matugen/templates/fuzzel.ini
	new file:   config/matugen/templates/ghostty
	new file:   config/matugen/templates/gtk-colors.css
	new file:   config/matugen/templates/helix.toml
	new file:   config/matugen/templates/heroic.css
	new file:   config/matugen/templates/hyprland-colors.conf
	new file:   config/matugen/templates/hyprlock.conf
	new file:   config/matugen/templates/hyprtoolkit.conf
	new file:   config/matugen/templates/hyprwave.css
	new file:   config/matugen/templates/hypwave.css
	new file:   config/matugen/templates/ironbar.css
	new file:   config/matugen/templates/kitty-colors.conf
	new file:   config/matugen/templates/kvantum-colors.kvconfig
	new file:   config/matugen/templates/kvantum-colors.svg
	new file:   config/matugen/templates/labwc
	new file:   config/matugen/templates/mako
	new file:   config/matugen/templates/mango.conf
	new file:   config/matugen/templates/matugen.obt
	new file:   config/matugen/templates/mcfly.toml
	new file:   config/matugen/templates/micro.micro
	new file:   config/matugen/templates/midnight-discord.css
	new file:   config/matugen/templates/neovim.lua
	new file:   config/matugen/templates/neovim/README.md
	new file:   config/matugen/templates/neovim/init.lua
	new file:   config/matugen/templates/neovim/template.lua
	new file:   config/matugen/templates/niri-colors.kdl
	new file:   config/matugen/templates/nvim-colors.vim
	new file:   config/matugen/templates/obsidian.css
	new file:   config/matugen/templates/opencode-colors.json
	new file:   config/matugen/templates/prismlauncher.json
	new file:   config/matugen/templates/pywalfox-colors.json
	new file:   config/matugen/templates/qtct-colors.conf
	new file:   config/matugen/templates/quickshell.json
	new file:   config/matugen/templates/quickshell.qml
	new file:   config/matugen/templates/rmpc/nix-hm-example/README.md
	new file:   config/matugen/templates/rmpc/nix-hm-example/matugen/default.nix
	new file:   config/matugen/templates/rmpc/nix-hm-example/matugen/templates/cava.ini
	new file:   config/matugen/templates/rmpc/nix-hm-example/matugen/templates/rmpc.ron
	new file:   config/matugen/templates/rmpc/rmpc.ron
	new file:   config/matugen/templates/rofi-colors.rasi
	new file:   config/matugen/templates/spicetify.ini
	new file:   config/matugen/templates/starship-colors.toml
	new file:   config/matugen/templates/steam.css
	new file:   config/matugen/templates/sway-colors.conf
	new file:   config/matugen/templates/swaync-colors.css
	new file:   config/matugen/templates/swayosd.css
	new file:   config/matugen/templates/telegram-background-solid.svg
	new file:   config/matugen/templates/telegram.tdesktop-theme
	new file:   config/matugen/templates/telegram.tdesktop-theme.bak
	new file:   config/matugen/templates/television.toml
	new file:   config/matugen/templates/terminal-sequences
	new file:   config/matugen/templates/tmux-colors.conf
	new file:   config/matugen/templates/vivaldi.css
	new file:   config/matugen/templates/walker.css
	new file:   config/matugen/templates/wezterm_theme.toml
	new file:   config/matugen/templates/windows_term.json
	new file:   config/matugen/templates/windows_term_post.ps1
	new file:   config/matugen/templates/wine.reg
	new file:   config/matugen/templates/yazi-theme.toml
	new file:   config/matugen/templates/zathura-colors
	new file:   config/matugen/templates/zed-colors.json
	new file:   config/matugen/templates/zellij-theme.kdl.tera
	new file:   config/matugen/templates/zen-userChrome.css
	new file:   config/matugen/templates/zen-userContent.css
	new file:   config/matugen/templates/zen.css
	modified:   config/mimeapps.list
	modified:   config/niri/binds.kdl
	new file:   config/niri/clipse.sh
	new file:   config/niri/colors.kdl
	modified:   config/niri/config.kdl
	deleted:    config/niri/dms/alttab.kdl
	deleted:    config/niri/dms/binds.kdl
	deleted:    config/niri/dms/colors.kdl
	deleted:    config/niri/dms/cursor.kdl
	deleted:    config/niri/dms/layout.kdl
	deleted:    config/niri/dms/outputs.kdl
	deleted:    config/niri/dms/profiles/profile_1776211496314_g03e3q.kdl
	deleted:    config/niri/dms/wpblur.kdl
	modified:   config/niri/layer-rule.kdl
	modified:   config/niri/layout.kdl
	new file:   config/niri/scripts/ocr.sh
	modified:   config/niri/spawn-at-startup.kdl
	modified:   config/niri/window-rule.kdl
	new file:   config/nvim/colors/matugen.vim
	modified:   config/nvim/init.lua
	modified:   config/nvim/lazy-lock.json
	new file:   config/nvim/lua/matugen.lua
	new file:   config/nvim/lua/plugins/base16-nvim.lua
	renamed:    config/nvim/lua/plugins/render-markdown.lua -> config/nvim/lua/plugins/render-markdown.lua.bak
	new file:   config/nvim/lua/plugins/themery.lua
	new file:   config/nvim/lua/plugins/zk-nvim.lua
	new file:   config/rmpc/themes/matugen.ron
	new file:   config/rudo/all-style.css
	new file:   config/rudo/pins.json
	new file:   config/rudo/settings.json
	new file:   config/rudo/style.css
	new file:   config/scripts/niri/ru.png
	new file:   config/scripts/niri/us.png
	modified:   config/starship.toml
	new file:   config/stasis/stasis.rune
	new file:   config/swaync/colors.css
	deleted:    config/swaync/config_1.json
	modified:   config/swaync/style.css
	deleted:    config/swaync/style_1.css
	new file:   config/swayosd/colors.css
	modified:   config/swayosd/style.css
	new file:   config/telegram/matugen.tdesktop-theme
	new file:   config/telegram/matugen/background.jpg
	new file:   config/telegram/matugen/background.svg
	new file:   config/telegram/matugen/colors.tdesktop-theme
	deleted:    config/termusic/tui.toml
	new file:   config/tmux/colors.conf
	modified:   config/tmux/tmux.conf
	modified:   config/walker/config.toml
	modified:   config/walker/themes/default/layout.xml
	new file:   config/walker/themes/matugen/colors.css
	new file:   config/walker/themes/matugen/item.xml
	new file:   config/walker/themes/matugen/item_actionsmenu.xml
	new file:   config/walker/themes/matugen/item_archlinuxpkgs.xml
	new file:   config/walker/themes/matugen/item_bookmarks.xml
	new file:   config/walker/themes/matugen/item_calc.xml
	new file:   config/walker/themes/matugen/item_clipboard.xml
	new file:   config/walker/themes/matugen/item_dmenu.xml
	new file:   config/walker/themes/matugen/item_dnfpackages.xml
	new file:   config/walker/themes/matugen/item_files.xml
	new file:   config/walker/themes/matugen/item_providerlist.xml
	new file:   config/walker/themes/matugen/item_symbols.xml
	new file:   config/walker/themes/matugen/item_symbols_grid.xml
	new file:   config/walker/themes/matugen/item_todo.xml
	new file:   config/walker/themes/matugen/item_unicode.xml
	new file:   config/walker/themes/matugen/keybind.xml
	new file:   config/walker/themes/matugen/layout.xml
	new file:   config/walker/themes/matugen/preview.xml
	new file:   config/walker/themes/matugen/style.css
	modified:   config/walker/themes/zzz/layout.xml
	modified:   config/walker/themes/zzz/style.css
	deleted:    config/waybar/config.jsonc
	deleted:    config/waybar/config01.jsonc
	deleted:    config/waybar/style.css
	deleted:    config/waybar/style01.css
	new file:   config/yazi/theme.toml
	modified:   config/zathura/zathurarc
	deleted:    config/zram-generator.conf
	modified:   copy.sh
	modified:   local/share/hyprwave/style.css
This commit is contained in:
nekochemist 2026-04-30 02:32:19 +05:00
parent d34dc71a44
commit ff70920a08
231 changed files with 31057 additions and 8511 deletions

View file

@ -0,0 +1,38 @@
# Example Nix Home Manager Module
This module includes matugen and configures rmpc and cava.
To use, import it in your `home.nix`:
```
imports = [
./matugen
...
];
```
## How does it work?
The module:
- creates a `~/.config/matugen/config.toml` preset with templates for rmpc and cava.
This tells Matugen that when it runs, it should process the files in `./templates`
and store the results into the appropriate target directories.
- installs the `./templates/` folder and it contents at `~/.config/matugen/templates/`
- imports and enables Matugen
## Notes
- Rmpc needs to be enabled in your NixOS/Home Manager modules separately.
- `~/.config/rmpc/config.ron` needs to be edited to use the theme:
```
theme: Some("matugen"),
```
- I am yet to figure out if there's a way to modularize the rmpc config, such
that the UI layout would not need to be altered just because the colors change.
As such, if the layout included here is not to your liking, you'd need to edit
`./templates/rmpc.ron` accodringly.
- In this theme, cava is embedded in rmpc. While rmpc allows us to set the bar
colors in three different ways (single, rows, gradient), `horizontal_gradient`
does not appear to be supported at the moment.
See [Cava/Theming](https://rmpc.mierak.dev/next/configuration/cava/#theming)

View file

@ -0,0 +1,40 @@
{inputs, config, ...}:
let
cfgdir = "${config.home.homeDirectory}/.config";
in {
# Make sure to include matugen in your flake.nix inputs:
# ```nix
# {
# ...
# inputs = {
# ...
# matugen.url = "github:/InioX/Matugen";
# };
# ...
# }
# ```
imports = [
inputs.matugen.nixosModules.default
];
home.file."matugen/templates" = {
source = ./templates;
target = "${cfgdir}/matugen/templates";
recursive = true;
};
home.file.".config/matugen/config.toml".text = ''
[config]
[templates.cava]
input_path = '${./templates/cava.ini}'
output_path = '${cfgdir}/cava/themes/matugen.ini'
post_hook = 'pkill -USR1 cava'
[templates.rmpc]
input_path = '${./templates/rmpc.ron}'
output_path = '${cfgdir}/rmpc/themes/matugen.ron'
'';
programs.matugen.enable = true;
}

View file

@ -0,0 +1,17 @@
[color]
background = 'default'
foreground = '{{colors.primary.default.hex}}'
; gradient = 0
gradient = 1
gradient_color_1 = '{{colors.primary_container.default.hex}}'
gradient_color_2 = '{{colors.primary.default.hex}}'
gradient_color_3 = '{{colors.on_primary_container.default.hex}}'
horizontal_gradient = 0
; horizontal_gradient = 1
horizontal_gradient_color_1 = '{{colors.primary_container.default.hex}}'
horizontal_gradient_color_2 = '{{colors.primary.default.hex}}'
horizontal_gradient_color_3 = '{{colors.on_primary_container.default.hex}}'
horizontal_gradient_color_4 = '{{colors.primary.default.hex}}'
horizontal_gradient_color_5 = '{{colors.primary_container.default.hex}}'

View file

@ -0,0 +1,207 @@
#![enable(implicit_some)]
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
default_album_art_path: None,
show_song_table_header: true,
draw_borders: true,
format_tag_separator: " | ",
browser_column_widths: [20, 38, 42],
background_color: None,
text_color: Some("{{ colors.secondary.default.hex }}"),
header_background_color: None,
modal_background_color: None,
modal_backdrop: false,
preview_label_style: (fg: "{{ colors.primary.default.hex }}"),
preview_metadata_group_style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"),
tab_bar: (
active_style: (fg: "{{ colors.on_secondary.default.hex }}", bg: "{{ colors.secondary.default.hex }}", modifiers: "Bold"),
inactive_style: (fg: "{{ colors.secondary.default.hex }}", modifiers: "Bold"),
),
highlighted_item_style: (fg: "{{ colors.secondary.default.hex }}", modifiers: "Bold"),
current_item_style: (fg: "{{ colors.secondary.default.hex }}", bg: "{{ colors.inverse_primary.default.hex }}", modifiers: "Bold"),
borders_style: (fg: "{{ colors.secondary.default.hex }}"),
highlight_border_style: (fg: "{{ colors.secondary.default.hex }}"),
symbols: (
song: "S",
dir: "D",
playlist: "P",
marker: "M",
ellipsis: "...",
song_style: None,
dir_style: None,
playlist_style: None,
),
level_styles: (
info: (fg: "blue", bg: "black"),
warn: (fg: "yellow", bg: "black"),
error: (fg: "red", bg: "black"),
debug: (fg: "light_green", bg: "black"),
trace: (fg: "magenta", bg: "black"),
),
progress_bar: (
symbols: ["[", "-", ">", " ", "]"],
track_style: (
fg: "{{ colors.on_secondary.default.hex }}",
),
elapsed_style: (
fg: "{{ colors.secondary.default.hex }}",
),
thumb_style: (
fg: "{{ colors.secondary.default.hex }}",
),
use_track_when_empty: false,
),
scrollbar: (
symbols: ["│", "█", "▲", "▼"],
track_style: (fg: "{{ colors.secondary.default.hex }}"),
ends_style: (fg: "{{ colors.secondary_fixed.default.hex }}"),
thumb_style: (fg: "{{ colors.primary.default.hex }}"),
),
song_table_format: [
(
prop: (
kind: Property(Artist),
style: (fg: "{{ colors.primary_fixed.default.hex }}"),
default: (kind: Text("Unknown"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "20%",
),
(
prop: (
kind: Property(Title),
style: (fg: "{{ colors.primary.default.hex }}"),
default: (kind: Text("Unknown"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "35%",
),
(
prop: (kind: Property(Album), style: (fg: "{{ colors.primary_fixed.default.hex }}"),
default: (kind: Text("Unknown Album"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "30%",
),
(
prop: (kind: Property(Duration), style: (fg: "{{ colors.primary.default.hex }}"),
default: (kind: Text("-"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "15%",
alignment: Right,
),
],
components: {},
layout: Split(
direction: Vertical,
panes: [
(
pane: Pane(Header),
size: "2",
),
(
pane: Pane(Tabs),
size: "3",
),
(
pane: Pane(TabContent),
size: "100%",
),
(
pane: Pane(ProgressBar),
size: "1",
),
],
),
header: (
rows: [
(
left: [
(kind: Text("["), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold")),
(
kind: Property(Status(StateV2(playing_label: "Playing", paused_label: "Paused", stopped_label: "Stopped"))),
style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold")
),
(kind: Text("]"), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"))
],
center: [
(kind: Property(Song(Title)), style: (modifiers: "Bold"),
default: (kind: Text("No Song"), style: (modifiers: "Bold"))
)
],
right: [
(kind: Property(Widget(ScanStatus)), style: (fg: "{{ colors.primary.default.hex }}")),
(kind: Property(Widget(Volume)), style: (fg: "{{ colors.primary.default.hex }}"))
]
),
(
left: [
(kind: Property(Status(Elapsed))),
(kind: Text(" / ")),
(kind: Property(Status(Duration))),
(kind: Text(" (")),
(kind: Property(Status(Bitrate))),
(kind: Text(" kbps)"))
],
center: [
(kind: Property(Song(Artist)), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"),
default: (kind: Text("Unknown"), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"))
),
(kind: Text(" - ")),
(kind: Property(Song(Album)),
style: (fg: "{{ colors.primary.default.hex }}"),
default: (kind: Text("Unknown Album"))
)
],
right: [
(
kind: Property(Widget(States(
active_style: (fg: "{{ colors.primary.default.hex }}", modifiers: "Bold"),
separator_style: (fg: "{{ colors.primary.default.hex }}")))
),
style: (fg: "{{ colors.secondary_fixed_dim.default.hex }}")
),
]
),
],
),
browser_song_format: [
(
kind: Group([
(kind: Property(Track), style: (fg: "{{ colors.primary.default.hex }}")),
(kind: Text(" ")),
])
),
(
kind: Group([
(kind: Property(Artist), style: (fg: "{{ colors.primary.default.hex }}")),
(kind: Text(" - ")),
(kind: Property(Title), style: (fg: "{{ colors.primary.default.hex }}")),
]),
default: (kind: Property(Filename), style: (fg: "{{ colors.primary.default.hex }}"))
),
],
lyrics: (
timestamp: false
),
cava: (
bar_width: 2, // width of a single bar in columns
bar_spacing: 1, // free space between bars in columns
orientation: Bottom,
// A simple color gradient.
// This is a map where keys are percent values of the height where the
// color starts. After that it is linearly interpolated towards the next
// value. Keys must be between 0 and 100 and if the first or last key
// are not 0 and 100 respectively, the lowest and highest value will be
// used as 0 and 100.
// Only hex and RGB colors are supported here and your terminal must
// support them as well!
// rmpc does not support `horizontal_gradient` (yet?)
bar_color: Gradient({
0: "{{colors.primary_container.default.hex}}",
50: "{{colors.primary.default.hex}}",
100: "{{colors.on_primary_container.default.hex}}"
})
),
)

View file

@ -0,0 +1,207 @@
#![enable(implicit_some)]
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
default_album_art_path: None,
show_song_table_header: true,
draw_borders: true,
format_tag_separator: " | ",
browser_column_widths: [20, 38, 42],
background_color: None,
text_color: Some("{{ colors.secondary.default.hex }}"),
header_background_color: None,
modal_background_color: None,
modal_backdrop: false,
preview_label_style: (fg: "{{ colors.primary.default.hex }}"),
preview_metadata_group_style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"),
tab_bar: (
active_style: (fg: "{{ colors.on_secondary.default.hex }}", bg: "{{ colors.secondary.default.hex }}", modifiers: "Bold"),
inactive_style: (fg: "{{ colors.secondary.default.hex }}", modifiers: "Bold"),
),
highlighted_item_style: (fg: "{{ colors.secondary.default.hex }}", modifiers: "Bold"),
current_item_style: (fg: "{{ colors.secondary.default.hex }}", bg: "{{ colors.inverse_primary.default.hex }}", modifiers: "Bold"),
borders_style: (fg: "{{ colors.secondary.default.hex }}"),
highlight_border_style: (fg: "{{ colors.secondary.default.hex }}"),
symbols: (
song: "S",
dir: "D",
playlist: "P",
marker: "M",
ellipsis: "...",
song_style: None,
dir_style: None,
playlist_style: None,
),
level_styles: (
info: (fg: "blue", bg: "black"),
warn: (fg: "yellow", bg: "black"),
error: (fg: "red", bg: "black"),
debug: (fg: "light_green", bg: "black"),
trace: (fg: "magenta", bg: "black"),
),
progress_bar: (
symbols: ["[", "-", ">", " ", "]"],
track_style: (
fg: "{{ colors.on_secondary.default.hex }}",
),
elapsed_style: (
fg: "{{ colors.secondary.default.hex }}",
),
thumb_style: (
fg: "{{ colors.secondary.default.hex }}",
),
use_track_when_empty: false,
),
scrollbar: (
symbols: ["│", "█", "▲", "▼"],
track_style: (fg: "{{ colors.secondary.default.hex }}"),
ends_style: (fg: "{{ colors.secondary_fixed.default.hex }}"),
thumb_style: (fg: "{{ colors.primary.default.hex }}"),
),
song_table_format: [
(
prop: (
kind: Property(Artist),
style: (fg: "{{ colors.primary_fixed.default.hex }}"),
default: (kind: Text("Unknown"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "20%",
),
(
prop: (
kind: Property(Title),
style: (fg: "{{ colors.primary.default.hex }}"),
default: (kind: Text("Unknown"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "35%",
),
(
prop: (kind: Property(Album), style: (fg: "{{ colors.primary_fixed.default.hex }}"),
default: (kind: Text("Unknown Album"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "30%",
),
(
prop: (kind: Property(Duration), style: (fg: "{{ colors.primary.default.hex }}"),
default: (kind: Text("-"), style: (fg: "{{ colors.primary_fixed.default.hex }}"))
),
width: "15%",
alignment: Right,
),
],
components: {},
layout: Split(
direction: Vertical,
panes: [
(
pane: Pane(Header),
size: "2",
),
(
pane: Pane(Tabs),
size: "3",
),
(
pane: Pane(TabContent),
size: "100%",
),
(
pane: Pane(ProgressBar),
size: "1",
),
],
),
header: (
rows: [
(
left: [
(kind: Text("["), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold")),
(
kind: Property(Status(StateV2(playing_label: "Playing", paused_label: "Paused", stopped_label: "Stopped"))),
style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold")
),
(kind: Text("]"), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"))
],
center: [
(kind: Property(Song(Title)), style: (modifiers: "Bold"),
default: (kind: Text("No Song"), style: (modifiers: "Bold"))
)
],
right: [
(kind: Property(Widget(ScanStatus)), style: (fg: "{{ colors.primary.default.hex }}")),
(kind: Property(Widget(Volume)), style: (fg: "{{ colors.primary.default.hex }}"))
]
),
(
left: [
(kind: Property(Status(Elapsed))),
(kind: Text(" / ")),
(kind: Property(Status(Duration))),
(kind: Text(" (")),
(kind: Property(Status(Bitrate))),
(kind: Text(" kbps)"))
],
center: [
(kind: Property(Song(Artist)), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"),
default: (kind: Text("Unknown"), style: (fg: "{{ colors.tertiary.default.hex }}", modifiers: "Bold"))
),
(kind: Text(" - ")),
(kind: Property(Song(Album)),
style: (fg: "{{ colors.primary.default.hex }}"),
default: (kind: Text("Unknown Album"))
)
],
right: [
(
kind: Property(Widget(States(
active_style: (fg: "{{ colors.primary.default.hex }}", modifiers: "Bold"),
separator_style: (fg: "{{ colors.primary.default.hex }}")))
),
style: (fg: "{{ colors.secondary_fixed_dim.default.hex }}")
),
]
),
],
),
browser_song_format: [
(
kind: Group([
(kind: Property(Track), style: (fg: "{{ colors.primary.default.hex }}")),
(kind: Text(" ")),
])
),
(
kind: Group([
(kind: Property(Artist), style: (fg: "{{ colors.primary.default.hex }}")),
(kind: Text(" - ")),
(kind: Property(Title), style: (fg: "{{ colors.primary.default.hex }}")),
]),
default: (kind: Property(Filename), style: (fg: "{{ colors.primary.default.hex }}"))
),
],
lyrics: (
timestamp: false
),
cava: (
bar_width: 2, // width of a single bar in columns
bar_spacing: 1, // free space between bars in columns
orientation: Bottom,
// A simple color gradient.
// This is a map where keys are percent values of the height where the
// color starts. After that it is linearly interpolated towards the next
// value. Keys must be between 0 and 100 and if the first or last key
// are not 0 and 100 respectively, the lowest and highest value will be
// used as 0 and 100.
// Only hex and RGB colors are supported here and your terminal must
// support them as well!
// rmpc does not support `horizontal_gradient` (yet?)
bar_color: Gradient({
0: "{{colors.primary_container.default.hex}}",
50: "{{colors.primary.default.hex}}",
100: "{{colors.on_primary_container.default.hex}}"
})
),
)