Modules/Rmpc: Set colors for log levels
This commit is contained in:
@ -28,6 +28,8 @@ in {
|
|||||||
home.file = let
|
home.file = let
|
||||||
themeName = "chriphost";
|
themeName = "chriphost";
|
||||||
in {
|
in {
|
||||||
|
# TODO: notify-send song title or sth.
|
||||||
|
# TODO: status bar colors (the thing that pops up in the progress/seeking bar sometimes)
|
||||||
".config/rmpc/config.ron".text = ''
|
".config/rmpc/config.ron".text = ''
|
||||||
#![enable(implicit_some)]
|
#![enable(implicit_some)]
|
||||||
#![enable(unwrap_newtypes)]
|
#![enable(unwrap_newtypes)]
|
||||||
@ -37,7 +39,7 @@ in {
|
|||||||
password: None,
|
password: None,
|
||||||
theme: "${themeName}",
|
theme: "${themeName}",
|
||||||
cache_dir: None,
|
cache_dir: None,
|
||||||
on_song_change: None, // TODO: notify-send song title or sth.
|
on_song_change: None,
|
||||||
volume_step: 5,
|
volume_step: 5,
|
||||||
max_fps: 30,
|
max_fps: 30,
|
||||||
scrolloff: 0,
|
scrolloff: 0,
|
||||||
@ -325,12 +327,13 @@ in {
|
|||||||
playlist_style: None,
|
playlist_style: None,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// The stuff shown in the status bar (on the progress bar)
|
||||||
level_styles: (
|
level_styles: (
|
||||||
info: (fg: "blue", bg: "black"),
|
info: (fg: "#${accent}", bg: "#${surface}"),
|
||||||
warn: (fg: "yellow", bg: "black"),
|
warn: (fg: "#${dark.yellow}", bg: "#${surface}"),
|
||||||
error: (fg: "red", bg: "black"),
|
error: (fg: "#${dark.red}", bg: "#${surface}"),
|
||||||
debug: (fg: "light_green", bg: "black"),
|
debug: (fg: "#${dark.green}", bg: "#${surface}"),
|
||||||
trace: (fg: "magenta", bg: "black"),
|
trace: (fg: "#${dark.mauve}", bg: "#${surface}"),
|
||||||
),
|
),
|
||||||
|
|
||||||
progress_bar: (
|
progress_bar: (
|
||||||
@ -482,6 +485,7 @@ in {
|
|||||||
style: (fg: "#${text}")
|
style: (fg: "#${text}")
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
||||||
center: [
|
center: [
|
||||||
(
|
(
|
||||||
kind: Property(Song(Artist)),
|
kind: Property(Song(Artist)),
|
||||||
@ -504,6 +508,7 @@ in {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
||||||
right: [
|
right: [
|
||||||
// (
|
// (
|
||||||
// kind: Property(Widget(States(
|
// kind: Property(Widget(States(
|
||||||
|
Reference in New Issue
Block a user