Add media and window info

This commit is contained in:
Daniel Flanagan 2023-07-13 10:51:22 -05:00
parent 20064853fa
commit b7eb3edb6b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 10 additions and 5 deletions

View file

@ -8,7 +8,7 @@ for f in vars colors functions
source $FISH_PATH/$f.fish source $FISH_PATH/$f.fish
end end
if has_command rtx && not set --query RTX_SHELL if has_command rtx
rtx activate fish | source rtx activate fish | source
else if has_command brew && test -f (brew --prefix asdf)/libexec/asdf.fish else if has_command brew && test -f (brew --prefix asdf)/libexec/asdf.fish
set --universal --export ASDF_DIR (brew --prefix asdf) set --universal --export ASDF_DIR (brew --prefix asdf)

View file

@ -3,7 +3,7 @@
"position": "bottom", "position": "bottom",
"output": ["eDP-1", "DP-3"], "output": ["eDP-1", "DP-3"],
"height": 32, "height": 32,
"modules-left": ["clock", "sway/title"], "modules-left": ["clock", "sway/window"],
"modules-center": ["sway/workspaces"], "modules-center": ["sway/workspaces"],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
@ -16,6 +16,7 @@
// "temperature", // "temperature",
"backlight", "backlight",
"battery", "battery",
"mpris",
"tray" "tray"
], ],
"bluetooth": { "bluetooth": {
@ -107,6 +108,9 @@
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "format-alt": "{ifname}: {ipaddr}/{cidr}"
}, },
"mpris": {
"format": "{title} by {artist}"
},
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
"format": "{volume} <span foreground=\"#666666\">{icon}</span> {format_source}", "format": "{volume} <span foreground=\"#666666\">{icon}</span> {format_source}",

View file

@ -66,14 +66,15 @@ window#waybar.empty {
#tray, #tray,
#mode, #mode,
#idle_inhibitor, #idle_inhibitor,
#mpris,
#window,
#mpd { #mpd {
padding: 0 0.75em; padding: 0 0.75em;
background-color: inherit; background-color: inherit;
color: @text; color: @text;
} }
#clock { #clock {}
}
#battery { #battery {
/* background-color: #ffffff; */ /* background-color: #ffffff; */
@ -186,4 +187,4 @@ label:focus {
#mpd.paused { #mpd.paused {
/* background-color: #51a37a; */ /* background-color: #51a37a; */
} }