(temporary) add marvin tracker
parent
7eafb75963
commit
a72d2cdb64
|
@ -29,7 +29,7 @@ window#waybar {
|
|||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
#clock, #battery, #cpu, #memory, #network, #disk, #pulseaudio, #custom-spotify, #tray, #mode, #custom-cal {
|
||||
#clock, #battery, #cpu, #memory, #network, #disk, #pulseaudio, #custom-spotify, #tray, #mode, #custom-cal, #custom-marvin {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
@ -110,6 +110,11 @@ window#waybar {
|
|||
background: #33b679;
|
||||
}
|
||||
|
||||
#custom-marvin {
|
||||
background: #5ec0bc;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ layer = "top"
|
|||
height = 26
|
||||
modules-left = [ "sway/workspaces", "sway/mode", "custom/spotify" ]
|
||||
modules-center = [ "sway/window" ]
|
||||
modules-right = [ "custom/cal", "pulseaudio", "network", "disk", "battery", "clock", "tray" ]
|
||||
modules-right = [ "custom/marvin", "custom/cal", "pulseaudio", "network", "disk", "battery", "clock", "tray" ]
|
||||
|
||||
["sway/workspaces"]
|
||||
all-outputs = false
|
||||
|
@ -82,3 +82,10 @@ escape = true
|
|||
max-length = 40
|
||||
on-click = "playerctl play-pause"
|
||||
exec = "$HOME/dotfiles/bin/spotify_meta.sh 2> /dev/null"
|
||||
|
||||
["custom/marvin"]
|
||||
format = "{}"
|
||||
escape = true
|
||||
max-length = 40
|
||||
exec = "/home/yorick/tmp/marvin-cli --public tracking --json | /home/yorick/.nix-profile/bin/jq -r .title"
|
||||
interval = 120
|
||||
|
|
Loading…
Reference in New Issue