Add media and window info
This commit is contained in:
parent
20064853fa
commit
b7eb3edb6b
3 changed files with 10 additions and 5 deletions
|
@ -8,7 +8,7 @@ for f in vars colors functions
|
|||
source $FISH_PATH/$f.fish
|
||||
end
|
||||
|
||||
if has_command rtx && not set --query RTX_SHELL
|
||||
if has_command rtx
|
||||
rtx activate fish | source
|
||||
else if has_command brew && test -f (brew --prefix asdf)/libexec/asdf.fish
|
||||
set --universal --export ASDF_DIR (brew --prefix asdf)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"position": "bottom",
|
||||
"output": ["eDP-1", "DP-3"],
|
||||
"height": 32,
|
||||
"modules-left": ["clock", "sway/title"],
|
||||
"modules-left": ["clock", "sway/window"],
|
||||
"modules-center": ["sway/workspaces"],
|
||||
"modules-right": [
|
||||
"idle_inhibitor",
|
||||
|
@ -16,6 +16,7 @@
|
|||
// "temperature",
|
||||
"backlight",
|
||||
"battery",
|
||||
"mpris",
|
||||
"tray"
|
||||
],
|
||||
"bluetooth": {
|
||||
|
@ -107,6 +108,9 @@
|
|||
"format-disconnected": "Disconnected ⚠",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"mpris": {
|
||||
"format": "{title} by {artist}"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{volume} <span foreground=\"#666666\">{icon}</span> {format_source}",
|
||||
|
|
|
@ -66,14 +66,15 @@ window#waybar.empty {
|
|||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#mpris,
|
||||
#window,
|
||||
#mpd {
|
||||
padding: 0 0.75em;
|
||||
background-color: inherit;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#clock {
|
||||
}
|
||||
#clock {}
|
||||
|
||||
#battery {
|
||||
/* background-color: #ffffff; */
|
||||
|
@ -186,4 +187,4 @@ label:focus {
|
|||
|
||||
#mpd.paused {
|
||||
/* background-color: #51a37a; */
|
||||
}
|
||||
}
|
Reference in a new issue